Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IP
elsa
Commits
7a626687
Commit
7a626687
authored
Oct 10, 2019
by
Jens Petit
Browse files
test approximate equality after projection
parent
0f675515
Pipeline
#167283
passed with stages
in 19 minutes and 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
elsa/projectors/tests/test_BinaryMethod.cpp
View file @
7a626687
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment