From: Kevin M. Rosenberg Date: Sat, 13 Jan 2001 22:30:01 +0000 (+0000) Subject: r401: *** empty log message *** X-Git-Tag: debian-4.5.3-3~616 X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=commitdiff_plain;h=f721cd6f062c2f8b5410f75765cda2d7330c62f9 r401: *** empty log message *** --- diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index 995c164..b5db204 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: projections.cpp,v 1.43 2001/01/12 16:41:56 kevin Exp $ +** $Id: projections.cpp,v 1.44 2001/01/13 22:30:01 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 @@ -687,7 +687,8 @@ Projections::convertPolar (ImageFile& rIF, int iInterpolationID) calcArrayPolarCoordinates (nx, ny, ppdView, ppdDet); std::complex** ppcDetValue = new std::complex* [m_nView]; - for (unsigned int iView = 0; iView < m_nView; iView++) { + unsigned int iView; + for (iView = 0; iView < m_nView; iView++) { ppcDetValue[iView] = new std::complex [m_nDet]; for (unsigned int iDet = 0; iDet < m_nDet; iDet++) ppcDetValue[iView][iDet] = std::complex(getDetectorArray (iView).detValues()[iDet], 0);