Commit c8a1e867 authored by Jan Hönig's avatar Jan Hönig
Browse files

Fixing printing of types.

parent 78acf4f6
......@@ -470,7 +470,7 @@ class CustomSympyPrinter(CCodePrinter):
return f'fabs({self._print(expr.args[0])})'
def _print_AbstractType(self, node):
raise ValueError(f'Cannot print AbstractType: {node}')
return str(node)
def _print_Function(self, expr):
infix_functions = {
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