Skip to content

Commit 785aac4

Browse files
committed
Fix
1 parent 4d5982a commit 785aac4

File tree

1 file changed

+2
-1
lines changed
  • pySDC/projects/Resilience

1 file changed

+2
-1
lines changed

pySDC/projects/Resilience/RBC.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def u_exact(self, t, u_init=None, t_init=None, recompute=False):
5252

5353
RayleighBenard._u_exact = RayleighBenard.u_exact
5454
RayleighBenard.u_exact = u_exact
55-
EstimateExtrapolationErrorNonMPI.get_extrapolated_error = get_extrapolated_error_DAE
5655

5756
PROBLEM_PARAMS = {'Rayleigh': 2e4, 'nx': 256, 'nz': 128}
5857

@@ -104,6 +103,8 @@ def run_RBC(
104103
controller: The controller
105104
bool: If the code crashed
106105
"""
106+
EstimateExtrapolationErrorNonMPI.get_extrapolated_error = get_extrapolated_error_DAE
107+
107108
level_params = {}
108109
level_params['dt'] = 1e-3
109110
level_params['restol'] = -1

0 commit comments

Comments
 (0)