Commit 558b9f81 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'sympy-1.7' into 'master'

Make work on SymPy 1.7: sympy.printing.ccode -> sympy.printing.cxx

See merge request pycodegen/pystencils!170
parents 0d6780b8 41cd5271
......@@ -20,7 +20,10 @@ from pystencils.integer_functions import (
from sympy.printing.ccode import C99CodePrinter as CCodePrinter
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
__all__ = ['generate_c', 'CustomCodeNode', 'PrintNode', 'get_headers', 'CustomSympyPrinter']
Markdown is supported
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