** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: imagefile.cpp,v 1.42 2001/03/21 21:45:31 kevin Exp $
+** $Id: imagefile.cpp,v 1.43 2001/03/28 16:53:43 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
if (isComplex())
vRealResult[ix][iy] = ::sqrt (vReal[ix][iy] * vReal[ix][iy] + vImag[ix][iy] * vImag[ix][iy]);
else
- vRealResult[ix][iy] = vReal[ix][iy];
+ vRealResult[ix][iy] = ::fabs(vReal[ix][iy]);
}
if (result.isComplex())