changeset 3874:24bf1bcbba8a

[project @ 2002-02-23 03:23:19 by jwe]
author jwe
date Sat, 23 Feb 2002 03:23:19 +0000
parents da64ef591f18
children 09323fcea5ab
files liboctave/ChangeLog liboctave/oct-fftw.cc
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-22  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a
+	definition for NULL by passing 0 as the last arg to fftwnd_one.
+	(octave_fftw::ifft2d): Likewise.
+
 2002-02-22  Paul Kienzle <pkienzle@jazz.ncnr.nist.gov>
 
 	* lo-mappers.cc (arg): Simply call atan2 (0.0, x).
--- a/liboctave/oct-fftw.cc
+++ b/liboctave/oct-fftw.cc
@@ -154,7 +154,7 @@
 {
   fftwnd_one (fftw_planner.create_plan2d (FFTW_FORWARD, nr, nc),
               reinterpret_cast<fftw_complex *> (inout),
-              NULL);
+              0);
 
   return 0;
 }
@@ -164,7 +164,7 @@
 {
   fftwnd_one (fftw_planner.create_plan2d (FFTW_BACKWARD, nr, nc),
               reinterpret_cast<fftw_complex *> (inout),
-              NULL);
+              0);
 
   const size_t npts = nr * nc;
   const Complex scale = npts;