Skip to content

Commit 68f3111

Browse files
author
Thomas Baumann
committed
Fixed merge in other direction as well
1 parent 301e4e0 commit 68f3111

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pySDC/projects/Resilience/Lorenz.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
from pySDC.implementations.controller_classes.controller_nonMPI import controller_nonMPI
99
from pySDC.implementations.convergence_controller_classes.adaptivity import Adaptivity
1010
from pySDC.core.Errors import ProblemError
11-
from pySDC.projects.Resilience.hook import log_data, hook_collection
11+
from pySDC.projects.Resilience.hook import LogData, hook_collection
1212

1313

1414
def run_Lorenz(
1515
custom_description=None,
1616
num_procs=1,
1717
Tend=1.0,
18-
hook_class=log_data,
18+
hook_class=LogData,
1919
fault_stuff=None,
2020
custom_controller_params=None,
2121
custom_problem_params=None,
@@ -181,12 +181,12 @@ def main(plotting=True):
181181

182182
custom_description = {}
183183
custom_description['convergence_controllers'] = {Adaptivity: {'e_tol': 1e-5}}
184-
custom_controller_params = {'logger_level': 15}
184+
custom_controller_params = {'logger_level': 30}
185185
stats, controller, _ = run_Lorenz(
186186
custom_description=custom_description,
187187
custom_controller_params=custom_controller_params,
188188
Tend=10,
189-
hook_class=[log_data, LogGlobalErrorPostRun],
189+
hook_class=[LogData, LogGlobalErrorPostRun],
190190
)
191191
check_solution(stats, controller, 5e-4)
192192
if plotting: # pragma: no cover

0 commit comments

Comments
 (0)