From 44b5a366b1b1ed56bd32984f2cb054b4479ed1cc Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Fri, 24 Jan 2025 13:30:09 +0100 Subject: [PATCH] fix printing of PsCustomType --- src/pystencils/types/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pystencils/types/types.py b/src/pystencils/types/types.py index 7645a452f..825ac1d5d 100644 --- a/src/pystencils/types/types.py +++ b/src/pystencils/types/types.py @@ -35,7 +35,7 @@ class PsCustomType(PsType): return self._name def c_string(self) -> str: - return f"{self._const_string()} {self._name}" + return f"{self._const_string()}{self._name}" def __repr__(self) -> str: return f"CustomType( {self.name}, const={self.const} )" -- GitLab