From: Kevin M. Rosenberg Date: Sun, 7 Jan 2001 23:03:28 +0000 (+0000) Subject: r359: no message X-Git-Tag: debian-4.5.3-3~658 X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=commitdiff_plain;h=dface59d5729f36f65d95ce48fe4c771462bb820 r359: no message --- diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index 3c4f956..4d78cd7 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: projections.cpp,v 1.39 2001/01/07 22:53:36 kevin Exp $ +** $Id: projections.cpp,v 1.40 2001/01/07 23:03:28 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 @@ -710,6 +710,9 @@ Projections::convertFFTPolar (ImageFile& rIF, int iInterpolationID, int iZeropad if (! v || nx == 0 || ny == 0) return false; +#ifndef HAVE_FFT + return false; +#else Array2d adView (nx, ny); Array2d adDet (nx, ny); double** ppdView = adView.getArray(); @@ -746,6 +749,7 @@ Projections::convertFFTPolar (ImageFile& rIF, int iInterpolationID, int iZeropad delete [] ppcDetValue; return true; +#endif }