Skip to content

Commit

Permalink
Merge pull request #582 from lmfit/asteval_maxtime
Browse files Browse the repository at this point in the history
remove deprecated max_time from asteval.Interpreter() creation
  • Loading branch information
newville authored Aug 23, 2019
2 parents 60cf4ec + 7ba1cc8 commit 10afd00
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 10afd00

Please sign in to comment.