X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fthreadproj.cpp;h=1644eecbf5ec79d1bc04404ea60eeb54aff6b263;hp=dfdf2be26e43ceee7ed28b8464e937cb1e0d6a58;hb=432ba2c487a5320352f14bdd2cce008fccef6902;hpb=f1e69bf8888b1462007c93c8d6bf3ae1e0ecec20 diff --git a/src/threadproj.cpp b/src/threadproj.cpp index dfdf2be..1644eec 100644 --- a/src/threadproj.cpp +++ b/src/threadproj.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: threadproj.cpp,v 1.4 2001/02/25 19:24:01 kevin Exp $ +** $Id: threadproj.cpp,v 1.5 2001/02/27 03:59:30 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -184,12 +184,11 @@ ProjectorSupervisor::getProjections() for (int iw = 0; iw < getNumWorkers(); iw++) { for (int iView = 0; iView < m_vecpChildProjections[iw]->nView(); iView++) { DetectorArray& childDetArray = m_vecpChildProjections[iw]->getDetectorArray(iView); - DetectorArray& globalDetArray = pProjections->getDetectorArray(iGlobalView); + DetectorArray& globalDetArray = pProjections->getDetectorArray(iGlobalView++); globalDetArray.setViewAngle (childDetArray.viewAngle()); DetectorValue* childDetval = childDetArray.detValues(); DetectorValue* globalDetval = globalDetArray.detValues(); memcpy (globalDetval, childDetval, detArraySize); - iGlobalView++; } }