mctools / simplebuild-dgcode

dgcode: the Geant4-based simulation framework of the ESS Detector Group. Provided as simple-build-system bundles.
https://mctools.github.io/simplebuild-dgcode/
Other
2 stars 1 forks source link

ExprParser fails if "and" is used before parenthesis. #26

Open tkittel opened 6 months ago

tkittel commented 6 months ago

This should not give an error: "weight > 0 and (uz>0 or uy>0)". But it does: "unknown function "and". Only an issue when using python-like boolean operators, fine with "&&" and "||".