Comment #1 on issue 1834 by Toon.Verstraelen: x&y code generation should
not produce And(x, y)
http://code.google.com/p/sympy/issues/detail?id=1834
This needs to patches to make things work properly:
1) precedence for boolean operators,
2) adapted ccode printer.
I've made two patches including tests. More tests are welcome.
Attachments:
0001-Precedence-for-boolean-operators-And-Or-and-Not.patch 2.2 KB
0002-Fix-boolean-operatures-in-ccode.patch 2.1 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.