Skip to content

Commit

Permalink
Fixing silly bug that caused the recon_test_pack failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Jehl committed Jun 27, 2024
1 parent 19f1a56 commit 5e3167e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scatter_buildblock/ScatterSimulation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ ScatterSimulation::downsample_scanner(int new_num_rings, int new_num_dets)
* proj_data_info_sptr->get_scanner_sptr()->get_ring_spacing();

new_num_rings = round(total_axial_length / 20.F + 0.5F);
new_num_rings = min(new_num_rings, 2); // set number of rings to at least 2
new_num_rings = max(new_num_rings, 2); // set number of rings to at least 2
}
else
return Succeeded::no;
Expand Down

0 comments on commit 5e3167e

Please sign in to comment.