Skip to content

Commit

Permalink
remove deprecated max_time from asteval.Interpreter() creation
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Aug 22, 2019
1 parent 60cf4ec commit 7ba1cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmfit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ def __init__(self, expr, independent_vars=None, init_script=None,
"""
# create ast evaluator, load custom functions
self.asteval = Interpreter(max_time=3600.0)
self.asteval = Interpreter()
for name in lineshapes.functions:
self.asteval.symtable[name] = getattr(lineshapes, name, None)
if init_script is not None:
Expand Down

0 comments on commit 7ba1cc8

Please sign in to comment.