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-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.