Add CustomSympyPrinter._print_Sum
1 unresolved thread
1 unresolved thread
+ 24
− 0
@@ -384,6 +384,30 @@ class CustomSympyPrinter(CCodePrinter):
This makes sympy.Sum printable as instantaniously invoked lambda (Attention: C++-only, works in CUDA)
Could we use
pystencils.data_types.get_type_of_expression
here instead of hard-coding "float" ? Also, a test would be great :)Tests were performed using interpolations. So I'll merge them later.