summaryrefslogtreecommitdiffstats
path: root/tests/test_ParallelBeamLinearKernelProjector2D.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2017-10-17 21:23:31 +0200
committerWillem Jan Palenstijn <wjp@usecode.org>2017-10-17 21:55:34 +0200
commit08fbd5bb090eba2d207eceb520351eabcfc389fe (patch)
tree18b05d6aeb6c87fcae58456d940395f7f78d8990 /tests/test_ParallelBeamLinearKernelProjector2D.cpp
parent8d8a3d26372d9c0a784e181121fc2b360f6fee51 (diff)
downloadastra-08fbd5bb090eba2d207eceb520351eabcfc389fe.tar.gz
astra-08fbd5bb090eba2d207eceb520351eabcfc389fe.tar.bz2
astra-08fbd5bb090eba2d207eceb520351eabcfc389fe.tar.xz
astra-08fbd5bb090eba2d207eceb520351eabcfc389fe.zip
Slightly increase numerical tolerance of test
Diffstat (limited to 'tests/test_ParallelBeamLinearKernelProjector2D.cpp')
-rw-r--r--tests/test_ParallelBeamLinearKernelProjector2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ParallelBeamLinearKernelProjector2D.cpp b/tests/test_ParallelBeamLinearKernelProjector2D.cpp
index f1fa311..a34c82c 100644
--- a/tests/test_ParallelBeamLinearKernelProjector2D.cpp
+++ b/tests/test_ParallelBeamLinearKernelProjector2D.cpp
@@ -155,7 +155,7 @@ BOOST_AUTO_TEST_CASE( testParallelBeamLinearKernelProjector2D_Rectangles )
pPix[i].m_iIndex / volGeom.getGridColCount(),
iDet,
projGeom.getProjectionAngle(0));
- BOOST_CHECK_SMALL( pPix[i].m_fWeight - fTest, 0.00037f);
+ BOOST_CHECK_SMALL( pPix[i].m_fWeight - fTest, 0.0004f);
fW += pPix[i].m_fWeight;
}