dNDArray_ctor_export
author Michael Goffioul <michael.goffioul@gmail.com>
Thu Jul 17 16:47:21 2008 +0200 (20 months ago)
changeset 24 be4db8c9228c
permissions -rw-r--r--
Fix NDArray contructor compilation.
     1 Fix NDArray compilation/export
     2 
     3 diff -r 8d405e2232b3 liboctave/ChangeLog
     4 --- a/liboctave/ChangeLog	Thu Jul 17 11:19:39 2008 +0200
     5 +++ b/liboctave/ChangeLog	Thu Jul 17 16:46:50 2008 +0200
     6 @@ -1,3 +1,8 @@
     7 +2008-07-17  Michael Goffioul  <michael.goffioul@gmail.com>
     8 +
     9 +	* dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>,
    10 +	bool, bool) into conditional HAVE_FFTW3 preprocessor statement.
    11 +
    12  2008-07-15  Michael Goffioul  <michael.goffioul@gmail.com>
    13  
    14  	* oct-mutex.h, oct-mutex.cc: New files.
    15 diff -r 8d405e2232b3 liboctave/dNDArray.cc
    16 --- a/liboctave/dNDArray.cc	Thu Jul 17 11:19:39 2008 +0200
    17 +++ b/liboctave/dNDArray.cc	Thu Jul 17 16:46:50 2008 +0200
    18 @@ -40,6 +40,7 @@
    19  
    20  #if defined (HAVE_FFTW3)
    21  #include "oct-fftw.h"
    22 +#endif
    23  
    24  NDArray::NDArray (const Array<octave_idx_type>& a, bool zero_based,
    25  		  bool negative_to_nan)
    26 @@ -82,6 +83,8 @@
    27  	  ptmp[i] = static_cast<double> (pa[i]);
    28      }
    29  }
    30 +
    31 +#if defined (HAVE_FFTW3)
    32  
    33  ComplexNDArray
    34  NDArray::fourier (int dim) const