Status: New
Owner: ----
Labels: Type-Defect Priority-Medium codegen
New issue 3727 by [email protected]: ufuncify(x, erf(x) + erf(2*x)) fails
to compile
http://code.google.com/p/sympy/issues/detail?id=3727
ufuncify(x, erf(x) + erf(-2*x)) fails to compile the generated fortran code.
This is because
from sympy import *
from sympy.utilities.tests.test_codegen import get_string, Routine, FCodeGen
x = symbols('x')
code_gen = FCodeGen()
source = get_string(code_gen.dump_f95, [Routine("test", erf(x) + erf(-2*x))
])
print source
outputs
REAL*8 function test(x)
implicit none
REAL*8, intent(in) :: x
REAL*8 :: erf
REAL*8 :: erf
test = erf(x) - erf(2*x)
end function
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.