# HG changeset patch # User John W. Eaton # Date 1216306582 14400 # Node ID f8cab9eeb128a062153720153880b6ef27ba8397 # Parent 1bfb88e78027d7557195d0d6c812ac7cdda7de26 Fix NDArray compilation/export diff -r 1bfb88e78027 -r f8cab9eeb128 liboctave/ChangeLog --- a/liboctave/ChangeLog Thu Jul 17 10:55:50 2008 -0400 +++ b/liboctave/ChangeLog Thu Jul 17 10:56:22 2008 -0400 @@ -1,3 +1,8 @@ +2008-07-17 Michael Goffioul + + * dNDArray.cc: Do not include ctor NDArray(Array, + bool, bool) into conditional HAVE_FFTW3 preprocessor statement. + 2008-07-16 John W. Eaton * oct-mutex.h (octave_autolock::octave_autolock (void), diff -r 1bfb88e78027 -r f8cab9eeb128 liboctave/dNDArray.cc --- a/liboctave/dNDArray.cc Thu Jul 17 10:55:50 2008 -0400 +++ b/liboctave/dNDArray.cc Thu Jul 17 10:56:22 2008 -0400 @@ -40,6 +40,7 @@ #if defined (HAVE_FFTW3) #include "oct-fftw.h" +#endif NDArray::NDArray (const Array& a, bool zero_based, bool negative_to_nan) @@ -83,6 +84,8 @@ } } +#if defined (HAVE_FFTW3) + ComplexNDArray NDArray::fourier (int dim) const {