Updates:
Cc: Ronan.Lamy
Comment #34 on issue 1923 by smichr: count_ops doesn't return a count (by
default)
http://code.google.com/p/sympy/issues/detail?id=1923
I am really having a bad day with sessions...yes, I (now) get the same
result.
Should count_ops() have these lines:
elif not isinstance(expr, Expr):
return zero
return expr.count_ops(visual)
changed to
elif not isinstance(expr, Expr) or not isinstance(expr, Basic):
return NotImplementedError
return expr.count_ops(visual)
? Then Basic(x, y+1).count_ops() would not return 0.
--
You received this message because you are subscribed to the Google Groups
"sympy-patches" group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-patches?hl=en.