On 07/26/2010 10:36 PM, Ųyvind Jensen wrote:
The code is also on github:
http://github.com/jegerjensen/sympy/tree/codegen_C2
I have two failing tests on my system.
________________________________________________________________________________
______ sympy/printing/tests/test_ccode.py:test_ccode_loops_multiple_terms ______
File "/home/toon/unief/research/code/work/sympy/sympy/printing/tests/test_ccode.py",
line 240, in test_ccode_loops_multiple_terms
assert c == s
AssertionError
________________________________________________________________________________
________________ sympy/printing/tests/test_fcode.py:test_loops _________________
File "/home/toon/unief/research/code/work/sympy/sympy/printing/tests/test_fcode.py",
line 275, in test_loops
assert str(A*x) == 'A(i, j)*x(j)' or str(A*x) == 'x(j)*Ai, j)'
AssertionError
I have not looked into detail into the contraction loop code yet, so I can not point out
the origin of the problem.
cheers,
Toon
--
You received this message because you are subscribed to the Google Groups
"sympy-patches" 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-patches?hl=en.