You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
It is not possible to calculate min(x) or max(x) with a single integer. It is required to wrap it in tuple:
Input: parser.parse('min(x)').evaluate({"x": 3}) or parser.parse('min(3)').evaluate({})
Result: TypeError: 'int' object is not iterable
Despite this number can be parsed:
Input: parser.parse('min(x)') or parser.parse('min(3)')
Result: <py_expression_eval.Expression object at 0x7fd984ad8f10>