Skip to content
Snippets Groups Projects
Commit c8a1e867 authored by Jan Hönig's avatar Jan Hönig
Browse files

Fixing printing of types.

parent 78acf4f6
No related branches found
No related tags found
1 merge request!292Rebase of pystencils Type System
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment