diff liboctave/dNDArray.cc @ 7941:f8cab9eeb128

Fix NDArray compilation/export
author John W. Eaton <jwe@octave.org>
date Thu, 17 Jul 2008 10:56:22 -0400
parents 935be827eaf8
children 25bc2d31e1bf
line wrap: on
line diff
--- a/liboctave/dNDArray.cc
+++ b/liboctave/dNDArray.cc
@@ -40,6 +40,7 @@
 
 #if defined (HAVE_FFTW3)
 #include "oct-fftw.h"
+#endif
 
 NDArray::NDArray (const Array<octave_idx_type>& a, bool zero_based,
 		  bool negative_to_nan)
@@ -83,6 +84,8 @@
     }
 }
 
+#if defined (HAVE_FFTW3)
+
 ComplexNDArray
 NDArray::fourier (int dim) const
 {