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
Example from README do not work for prg.evaluate function
import celpy
from celpy import CELEvalError
env = celpy.Environment()
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
all_positive = "data.all(x, x>0)"
breaks = {'data': [1, 2, 3] }
ast = env.compile(all_positive)
prgm = env.program(ast)
prgm.evaluate(breaks)
.venv/lib/python3.13/site-packages/celpy/evaluation.py", line 1461, in relation
}[left_op.data]
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'
python -V
Python 3.13.0
The text was updated successfully, but these errors were encountered:
Example from README do not work for prg.evaluate function
python -V
Python 3.13.0
The text was updated successfully, but these errors were encountered: