** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: pjrec.cpp,v 1.15 2000/08/27 20:32:55 kevin Exp $
+** $Id: pjrec.cpp,v 1.16 2000/08/31 08:38:58 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
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.15 2000/08/27 20:32:55 kevin Exp $";
+static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.16 2000/08/31 08:38:58 kevin Exp $";
void
pjrec_usage (const char *program)
#ifdef HAVE_MPI
if (mpiWorld.getRank() == 0) {
projGlobal.read (pszFilenameProj);
- if (bOptVerbose)
- projGlobal.printScanInfo();
+ if (bOptVerbose) {
+ ostringstream os;
+ projGlobal.printScanInfo (os);
+ cout << os.str();
+ }
mpi_ndet = projGlobal.nDet();
mpi_nview = projGlobal.nView();
imLocal = new ImageFile (nx, ny);
#else
projGlobal.read (pszFilenameProj);
- if (bOptVerbose)
- projGlobal.printScanInfo();
+ if (bOptVerbose) {
+ ostringstream os;
+ projGlobal.printScanInfo(os);
+ cout << os.str();
+ }
imGlobal = new ImageFile (nx, ny);
#endif