From 41dd558ecdb6f3a34ccea68d25eba8b736ca264a Mon Sep 17 00:00:00 2001 From: Cristian C Lalescu <Cristian.Lalescu@ds.mpg.de> Date: Wed, 27 Jan 2016 16:13:44 +0100 Subject: [PATCH] fix syntax --- bfps/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfps/__main__.py b/bfps/__main__.py index bdc74edf..6d788bd9 100644 --- a/bfps/__main__.py +++ b/bfps/__main__.py @@ -64,7 +64,7 @@ def main(): precision = 'double' else: 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:]) return None -- GitLab