** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: plotfile.cpp,v 1.6 2000/12/27 03:16:02 kevin Exp $
+** $Id: plotfile.cpp,v 1.7 2000/12/29 20:09:46 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
sys_error (ERR_WARNING, "iStartingCol >= iNumColumns");\r
return false;\r
}\r
- \r
- int iOffset = iStartingCol * m_iNumRecords;\r
+ \r
int iNPoints = (m_iNumColumns - iStartingCol) * m_iNumRecords;\r
std::vector<double> vec;\r
vec.resize (iNPoints);\r