>      if not isinstance(bodylist, list):
>          raise TypeError('System elements must be supplied as a list')
>      else:
> -        linearmomentum_sys = 0
> +        linear_momentum_sys = 0

Would returning S(0) here be better, to get a SymPy object? I've had other 
difficulties in mechanics with returning integers.

---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1407/files#r1329019

-- 
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to