Skip to content
Snippets Groups Projects
Commit 717f8aac authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Print double literals always with .

parent 13a45fed
Branches
No related tags found
No related merge requests found
......@@ -378,6 +378,9 @@ class CustomSympyPrinter(CCodePrinter):
res += ".0f"
else:
res += "f"
else:
if '.' not in res:
res += "."
return res
else:
return res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment