Initial commit for report_diff

This commit is contained in:
Michael Tryby
2018-07-11 17:19:18 -04:00
parent e3cd4ae41a
commit c482f38639
3 changed files with 77 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ def epanet_mincdd_compare(path_test, path_ref, rtol, atol):
idx = np.unravel_index(np.argmax(diff), diff.shape)
if diff[idx] != 0.0:
tmp = - np.log10(diff[idx])
tmp = - np.log10(diff[idx])
if tmp < min_cdd:
min_cdd = tmp;