r123: *** empty log message ***
[ctsim.git] / libctsim / imagefile.cpp
index a05eae73f81115c6d4dc05c754fea5caf53ed08a..c3d2f67896820bd65fec117fad0b3958cb4b0c11 100644 (file)
@@ -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];