Mercurial > hg > octave-lojdl
changeset 7941:f8cab9eeb128
Fix NDArray compilation/export
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 17 Jul 2008 10:56:22 -0400 |
parents | 1bfb88e78027 |
children | db6478d9c669 |
files | liboctave/ChangeLog liboctave/dNDArray.cc |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,8 @@ +2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> + + * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>, + bool, bool) into conditional HAVE_FFTW3 preprocessor statement. + 2008-07-16 John W. Eaton <jwe@octave.org> * oct-mutex.h (octave_autolock::octave_autolock (void),
--- 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 {