** 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
calcArrayPolarCoordinates (nx, ny, ppdView, ppdDet);
std::complex<double>** ppcDetValue = new std::complex<double>* [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<double> [m_nDet];
for (unsigned int iDet = 0; iDet < m_nDet; iDet++)
ppcDetValue[iView][iDet] = std::complex<double>(getDetectorArray (iView).detValues()[iDet], 0);