Skip to content

Commit 659b78c

Browse files
Increase threshold for scatter test
backport bf0366a on release 5.1 branch, but also correct echo statement Occasional numerical errors cause the difference to be larger than 6%, so increased it to 7%. Fixes #1164
1 parent a2f3c18 commit 659b78c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recon_test_pack/run_scatter_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ if [ $? -ne 0 ]; then
134134
fi
135135

136136

137-
echo "=== compare result (up to 6%)"
137+
echo "=== compare result (up to 7%)"
138138
# threshold needs to be a bit high as scatter_cylinder.hs was generated without random sampling
139-
compare_projdata -t .06 my_estimated_scatter_3.hs my_upsampled_scatter_cylinder.hs > my_estimate_scatter_compare_projdata.log 2>&1
139+
compare_projdata -t .07 my_estimated_scatter_3.hs my_upsampled_scatter_cylinder.hs > my_estimate_scatter_compare_projdata.log 2>&1
140140
if [ $? -ne 0 ]; then
141141
echo "Error comparing scatter output."
142142
error_log_files="${error_log_files} my_estimate_scatter*.log"

0 commit comments

Comments
 (0)