Skip to content

Commit 11842a9

Browse files
committed
Merge branch 'master' of github.com:lhcopt/lhcmask
2 parents 0a94dad + 33793e7 commit 11842a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_examples/hl_lhc_collisions_python/checks_and_doc/t004_check_output_consistency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def prepare_line(path, input_type):
165165
diff_rel = 0
166166
else:
167167
if val_ref > 0:
168-
diff_rel = (val_test - val_ref)/val_ref
168+
diff_rel = np.abs((val_test - val_ref)/val_ref)
169169
else:
170170
diff_rel = 100
171171

0 commit comments

Comments
 (0)