Comment #5 on issue 3715 by [email protected]: ufuncify with logarithms
http://code.google.com/p/sympy/issues/detail?id=3715
Adding "erf" to the set of implicit code functions in
sympy/printing/fcode.py fixes this issue. Should I create a PR for this ?
diff --git a/sympy/printing/fcode.py b/sympy/printing/fcode.py
index ff01429..58445bd 100644
--- a/sympy/printing/fcode.py
+++ b/sympy/printing/fcode.py
@@ -38,7 +38,7 @@ class FCodePrinter(CodePrinter):
_implicit_functions = set([
"sin", "cos", "tan", "asin", "acos", "atan", "atan2", "sinh",
- "cosh", "tanh", "sqrt", "log", "exp", "Abs", "sign", "conjugate",
+ "cosh", "tanh", "sqrt", "log", "exp", "erf", "Abs", "sign",
"conjugate",
])
def __init__(self, settings=None):
--
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.