We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a55824 + 535f3dd commit 32af9a1Copy full SHA for 32af9a1
foamlib/_files/_parsing/_grammar.py
@@ -60,7 +60,7 @@
60
Literal("(").suppress()
61
+ Group(common.ieee_float[3] | common.ieee_float[6] | common.ieee_float[9])
62
+ Literal(")").suppress()
63
-).add_parse_action(lambda tks: np.array(tks[0], dtype=float))
+).add_parse_action(lambda tks: np.array(tks[0]))
64
_BALANCED = Forward()
65
_BALANCED <<= Opt(CharsNotIn("()")) + Opt(
66
Literal("(") + _BALANCED + Literal(")") + _BALANCED
0 commit comments