X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fimagefile.cpp;h=c3d2f67896820bd65fec117fad0b3958cb4b0c11;hb=6435258bbafabf9a4ce4445edfd97f771318eb6d;hp=a05eae73f81115c6d4dc05c754fea5caf53ed08a;hpb=2f3d6e2580db607105bb072b13e4aff453ae4495;p=ctsim.git diff --git a/libctsim/imagefile.cpp b/libctsim/imagefile.cpp index a05eae7..c3d2f67 100644 --- a/libctsim/imagefile.cpp +++ b/libctsim/imagefile.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: imagefile.cpp,v 1.5 2000/06/26 21:15:24 kevin Exp $ +** $Id: imagefile.cpp,v 1.6 2000/06/28 15:25:34 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 @@ -112,8 +112,8 @@ ImageFile::comparativeStatistics (const ImageFile& imComp, double& d, double& r, sys_error (ERR_WARNING, "Image sizes differ [ImageFile::comparativeStatistics]"); return false; } - const ImageFileArray const v = getArray(); - ImageFileArray vComp = imComp.getArray(); + ImageFileArrayConst v = getArray(); + ImageFileArrayConst vComp = imComp.getArray(); double myMean = 0.; for (int ix = 0; ix < m_nx; ix++) { @@ -194,7 +194,7 @@ ImageFile::statistics (double& min, double& max, double& mean, double& mode, dou { int nx = m_nx; int ny = m_ny; - const ImageFileArray v = getArray(); + ImageFileArrayConst v = getArray(); mean = 0; min = v[0][0];