Skip to content

Commit 956a548

Browse files
committed
minor
1 parent 14bdc94 commit 956a548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/recon_test/test_blocks_on_cylindrical_projectors.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ BlocksTests::run_plane_symmetry_test(ForwardProjectorByBin& forw_projector1, For
307307

308308
// rotate by 30 degrees
309309
phi2 = 30 * _PI / 180;
310-
VoxelsOnCartesianGrid<float> image2(image); // = *image.get_empty_copy();
310+
VoxelsOnCartesianGrid<float> image2(image);
311311
image2.fill(0);
312312
const Array<2, float> direction2 = make_array(make_1d_array(1.F, 0.F, 0.F),
313313
make_1d_array(0.F, cos(float(_PI) - phi2), sin(float(_PI) - phi2)),
@@ -701,7 +701,7 @@ BlocksTests::run_projection_test(ForwardProjectorByBin& forw_projector1, Forward
701701
shared_ptr<DiscretisedDensity<3, float>> image1_sptr(image.clone());
702702
write_to_file("image_with_voxel_at_30_0", *image1_sptr);
703703

704-
image.fill(0); //= *image.get_empty_copy();
704+
image.fill(0);
705705
image[(image.get_min_index() + image.get_max_index()) / 2 * grid_spacing.z()][0][-25] = 1;
706706

707707
shared_ptr<DiscretisedDensity<3, float>> image2_sptr(image.clone());

0 commit comments

Comments
 (0)