Commit b4aeb040 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Use C11CodePrinter for sympy 1.7

C++ may cause problems for CUDA/OpenCL
parent 43bdbcb8
......@@ -23,7 +23,7 @@ except ImportError:
from sympy.printing.ccode import CCodePrinter # for sympy versions < 1.1
except ImportError:
from sympy.printing.cxx import CXX11CodePrinter as CCodePrinter # for sympy versions > 1.6
from sympy.printing.c import C11CodePrinter as CCodePrinter # for sympy versions > 1.6
__all__ = ['generate_c', 'CustomCodeNode', 'PrintNode', 'get_headers', 'CustomSympyPrinter']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment