Skip to content
Snippets Groups Projects
Commit 41dd558e authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fix syntax

parent 8281d860
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ def main(): ...@@ -64,7 +64,7 @@ def main():
precision = 'double' precision = 'double'
else: else:
precision = 'single' precision = 'single'
c = eval('{0}(fluid_precision = {1})'.format(opt.base_class, precision)) c = eval('{0}(fluid_precision = \'{1}\')'.format(opt.base_class, precision))
c.launch(args = sys.argv[2:]) c.launch(args = sys.argv[2:])
return None return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment