Mercurial > hg > octave-nkf
diff liboctave/oct-fftw.h @ 15741:f63a4f23bfe7 stable
Fix infinite loop when setting fftw planner method (bug #37873)
* liboctave/oct-fftw.h (octave_float_fftw_planner::method): Fix typo
method -> do_method.
* src/DLD-FUNCTIONS/fftw.cc: Add tests.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Thu, 06 Dec 2012 20:15:58 -0500 |
parents | 72c96de7a403 |
children |
line wrap: on
line diff
--- a/liboctave/oct-fftw.h +++ b/liboctave/oct-fftw.h @@ -225,14 +225,14 @@ { static FftwMethod dummy; - return instance_ok () ? instance->method () : dummy; + return instance_ok () ? instance->do_method () : dummy; } static FftwMethod method (FftwMethod _meth) { static FftwMethod dummy; - return instance_ok () ? instance->method (_meth) : dummy; + return instance_ok () ? instance->do_method (_meth) : dummy; } private: