Fix NDArray compilation/export diff -r 8d405e2232b3 liboctave/ChangeLog --- a/liboctave/ChangeLog Thu Jul 17 11:19:39 2008 +0200 +++ b/liboctave/ChangeLog Thu Jul 17 16:46:50 2008 +0200 @@ -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-15 Michael Goffioul * oct-mutex.h, oct-mutex.cc: New files. diff -r 8d405e2232b3 liboctave/dNDArray.cc --- a/liboctave/dNDArray.cc Thu Jul 17 11:19:39 2008 +0200 +++ b/liboctave/dNDArray.cc Thu Jul 17 16:46:50 2008 +0200 @@ -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) @@ -82,6 +83,8 @@ ptmp[i] = static_cast (pa[i]); } } + +#if defined (HAVE_FFTW3) ComplexNDArray NDArray::fourier (int dim) const