Commit 7a626687 authored by Jens Petit's avatar Jens Petit
Browse files

test approximate equality after projection

parent 0f675515
Pipeline #167283 passed with stages
in 19 minutes and 39 seconds
......@@ -465,7 +465,7 @@ SCENARIO("Calls to functions of super class") {
THEN("Results do not change (may still be slightly different due to summation being performed in a different order)") {
op.apply(volume, sino);
opClone->apply(volume, sinoClone);
REQUIRE(sino == sinoClone);
REQUIRE((sino-sinoClone).squaredL2Norm() == Approx(0.0).margin(1e-5));
op.applyAdjoint(sino, volume);
opClone->applyAdjoint(sino, volumeClone);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment