diff --git a/pystencils/backends/cbackend.py b/pystencils/backends/cbackend.py index ddcfb02dc737551d8ce4c716b351889b22d2d034..1fe86bbc2892b4e5d26e5d19e022f2bfa90df923 100644 --- a/pystencils/backends/cbackend.py +++ b/pystencils/backends/cbackend.py @@ -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 = {