From dface59d5729f36f65d95ce48fe4c771462bb820 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sun, 7 Jan 2001 23:03:28 +0000 Subject: [PATCH] r359: no message --- libctsim/projections.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } -- 2.34.1