diff --git a/numjuggler/main.py b/numjuggler/main.py index 6d1ac0f..e59ff45 100644 --- a/numjuggler/main.py +++ b/numjuggler/main.py @@ -594,7 +594,7 @@ def cfunc(n): c.get_values() if c.dtype == 'Mn': inp = [] - inp.append(c.input[0].replace('} ', + inp.append(c.input[0].replace('}', '} 1001 1.0 $ msimpl ', 1)) for i in c.input[1:]: inp.append('c msimpl ' + i) diff --git a/numjuggler/parser.py b/numjuggler/parser.py index 85a75fc..704e8c8 100644 --- a/numjuggler/parser.py +++ b/numjuggler/parser.py @@ -1051,7 +1051,7 @@ def _split_data(input_): elif (t[0][0].lower() == 'm' and 'mode' not in t[0].lower() and 'mesh' not in t[0].lower()): - # Mn, MTn or MPNn card + # This is the Mn, MTn or MPNn card ms = _get_int(t[0]) inpt = inpt.replace(ms, tp, 1) vals.append((int(ms), 'mat'))