Skip to content

Commit a2b0e05

Browse files
committed
fix error response names for std and avg
1 parent dc13106 commit a2b0e05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylbm_ui/responses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,15 @@ def value(self):
234234
return np.log10(std) if self.log10 else std
235235

236236
def __str__(self):
237-
return f'ErrStd_{self.field}'
237+
return f'StdErr_{self.field}'
238238

239239
class ErrorAvg(ErrorStd):
240240
def value(self):
241241
avg = np.average(np.asarray(self.error))
242242
return np.log10(avg) if self.log10 else avg
243243

244244
def __str__(self):
245-
return f'ErrAvg_{self.field}'
245+
return f'AvgErr_{self.field}'
246246

247247
class CFL(AfterSimulation):
248248
def __init__(self, rho, q):

0 commit comments

Comments
 (0)