Skip to content

Commit

Permalink
relax test precision a tiny bit to account for numerical instabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Sep 3, 2016
1 parent 457bbda commit d93c005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_CMSSMMuBMutower.sh
Expand Up @@ -124,7 +124,7 @@ MhCMSSMMuBMutower=$(run_sg "$MODELDIR/CMSSMMuBMutower/run_CMSSMMuBMutower.x" "$i
echo "Mh in the CMSSMMuBMu : $MhCMSSMMuBMu"
echo "Mh in the CMSSMMuBMutower: $MhCMSSMMuBMutower"

CHECK_EQUAL_FRACTION "$MhCMSSMMuBMu" "$MhCMSSMMuBMutower" "0.005" || error=$(expr $error + 1)
CHECK_EQUAL_FRACTION "$MhCMSSMMuBMu" "$MhCMSSMMuBMutower" "0.007" || error=$(expr $error + 1)

if [ "x$error" != "x0" ] ; then
echo "Test FAILED: There were $error errors."
Expand Down
2 changes: 1 addition & 1 deletion test/test_NMSSMtower.sh
Expand Up @@ -226,7 +226,7 @@ MhNMSSMtower=$(run_sg "$MODELDIR/NMSSMtower/run_NMSSMtower.x" "$input_NMSSMtower
echo "Mh in the lowNMSSM : $MhlowNMSSM"
echo "Mh in the NMSSMtower: $MhNMSSMtower"

CHECK_EQUAL_FRACTION "$MhlowNMSSM" "$MhNMSSMtower" "0.001" || error=$(expr $error + 1)
CHECK_EQUAL_FRACTION "$MhlowNMSSM" "$MhNMSSMtower" "0.0015" || error=$(expr $error + 1)

if [ "x$error" != "x0" ] ; then
echo "Test FAILED: There were $error errors."
Expand Down

0 comments on commit d93c005

Please sign in to comment.