Skip to content

Commit

Permalink
increase tol
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Chen authored and Mo Chen committed Dec 7, 2021
1 parent 8a017f0 commit 4b8ac79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/adjoint/optimization_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
fcen=None,
df=None,
nf=None,
decay_by=6e-7,
decay_by=7.5e-7,
decimation_factor=0,
minimum_run_time=0,
maximum_run_time=None,
Expand Down
2 changes: 1 addition & 1 deletion python/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4545,7 +4545,7 @@ def _stop(sim):

return _stop

def stop_when_dft_decayed(tol=6e-7, minimum_run_time=0, maximum_run_time=None):
def stop_when_dft_decayed(tol=7.5e-7, minimum_run_time=0, maximum_run_time=None):
"""
Return a `condition` function, suitable for passing to `Simulation.run` as the `until`
or `until_after_sources` parameter, that checks the `Simulation`'s DFT objects every $t$
Expand Down

0 comments on commit 4b8ac79

Please sign in to comment.