Add own implementation for printing an unknown function
Compare changes
+ 2
− 1
@@ -385,7 +385,8 @@ class CustomSympyPrinter(CCodePrinter):
Using the SymPy implementation for printing a sympy.Function
has some issues:
cast_func
as an argument -> SymPy prints
`cast_func(2,float)Maybe a disadvantage or an advantage:
Would have prevented commits like:
Fix: type of sqrt(int) was int not floating point type