minor: more meaningful percent
This commit is contained in:
parent
877a42aee3
commit
6cebb66a85
@ -68,4 +68,4 @@ def improved_answer(answer, exact):
|
||||
|
||||
|
||||
def percent_improvement(answer, exact):
|
||||
return np.abs(answer['qlin'] - exact) / exact
|
||||
return np.abs(answer['error']) / exact
|
||||
|
Loading…
Reference in New Issue
Block a user