summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/astra/FanFlatBeamStripKernelProjector2D.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/astra/FanFlatBeamStripKernelProjector2D.inl b/include/astra/FanFlatBeamStripKernelProjector2D.inl
index bbd45cf..732c302 100644
--- a/include/astra/FanFlatBeamStripKernelProjector2D.inl
+++ b/include/astra/FanFlatBeamStripKernelProjector2D.inl
@@ -87,11 +87,11 @@ void CFanFlatBeamStripKernelProjector2D::projectBlock_internal(int _iProjFrom, i
// get values
theta = m_pProjectionGeometry->getProjectionAngle(iAngle);
- bool switch_t = false;
+ bool switch_t = true;
if (theta >= 7*PIdiv4) theta -= 2*PI;
if (theta >= 3*PIdiv4) {
theta -= PI;
- switch_t = true;
+ switch_t = false;
}
// Precalculate sin, cos, 1/cos