dNDArray_ctor_export
changeset 24 be4db8c9228c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dNDArray_ctor_export	Thu Jul 17 16:47:21 2008 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +Fix NDArray compilation/export
     1.5 +
     1.6 +diff -r 8d405e2232b3 liboctave/ChangeLog
     1.7 +--- a/liboctave/ChangeLog	Thu Jul 17 11:19:39 2008 +0200
     1.8 ++++ b/liboctave/ChangeLog	Thu Jul 17 16:46:50 2008 +0200
     1.9 +@@ -1,3 +1,8 @@
    1.10 ++2008-07-17  Michael Goffioul  <michael.goffioul@gmail.com>
    1.11 ++
    1.12 ++	* dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>,
    1.13 ++	bool, bool) into conditional HAVE_FFTW3 preprocessor statement.
    1.14 ++
    1.15 + 2008-07-15  Michael Goffioul  <michael.goffioul@gmail.com>
    1.16 + 
    1.17 + 	* oct-mutex.h, oct-mutex.cc: New files.
    1.18 +diff -r 8d405e2232b3 liboctave/dNDArray.cc
    1.19 +--- a/liboctave/dNDArray.cc	Thu Jul 17 11:19:39 2008 +0200
    1.20 ++++ b/liboctave/dNDArray.cc	Thu Jul 17 16:46:50 2008 +0200
    1.21 +@@ -40,6 +40,7 @@
    1.22 + 
    1.23 + #if defined (HAVE_FFTW3)
    1.24 + #include "oct-fftw.h"
    1.25 ++#endif
    1.26 + 
    1.27 + NDArray::NDArray (const Array<octave_idx_type>& a, bool zero_based,
    1.28 + 		  bool negative_to_nan)
    1.29 +@@ -82,6 +83,8 @@
    1.30 + 	  ptmp[i] = static_cast<double> (pa[i]);
    1.31 +     }
    1.32 + }
    1.33 ++
    1.34 ++#if defined (HAVE_FFTW3)
    1.35 + 
    1.36 + ComplexNDArray
    1.37 + NDArray::fourier (int dim) const