minor: more meaningful percent

This commit is contained in:
Stephen McQuay 2011-05-17 21:07:23 -06:00
parent 877a42aee3
commit 6cebb66a85

View File

@ -68,4 +68,4 @@ def improved_answer(answer, exact):
def percent_improvement(answer, exact): def percent_improvement(answer, exact):
return np.abs(answer['qlin'] - exact) / exact return np.abs(answer['error']) / exact