Skip to content

Commit 0faabf0

Browse files
committed
fix error names in the responses
1 parent 5219d6f commit 0faabf0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pylbm_ui/widgets/responses.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ def build_responses_list(test_case, lb_scheme):
8181
responses[f'plot {name}'] = Plot(name, expr)
8282
if hasattr(test_case, 'ref_solution'):
8383
# responses[f'stability on {name}'] = pylbm_responses.Stability(expr)
84-
responses[f'log of error on {name}'] = Error(name, expr)
85-
responses[f'log of error avg on {name}'] = pylbm_responses.ErrorAvg(name, test_case.ref_solution, expr)
86-
responses[f'log of error std on {name}'] = pylbm_responses.ErrorStd(name, test_case.ref_solution, expr)
87-
responses[f'log of relative error on {name}'] = Error(name, expr, relative=True)
84+
responses[f'log of abs error on {name}'] = Error(name, expr)
85+
responses[f'log of avg error on {name}'] = pylbm_responses.ErrorAvg(name, test_case.ref_solution, expr)
86+
responses[f'log of std error on {name}'] = pylbm_responses.ErrorStd(name, test_case.ref_solution, expr)
87+
responses[f'log of rel error on {name}'] = Error(name, expr, relative=True)
8888

8989
def add_relax(v):
9090
responses[k] = pylbm_responses.S(v.symb)

0 commit comments

Comments
 (0)