diff liboctave/oct-fftw.cc @ 10350:12884915a8e4

merge MArray classes & improve Array interface
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 23 Jan 2010 21:41:03 +0100
parents 07ebe522dac2
children 331fcc41ca23
line wrap: on
line diff
--- a/liboctave/oct-fftw.cc
+++ b/liboctave/oct-fftw.cc
@@ -763,7 +763,7 @@
 {
   dist = (dist < 0 ? npts : dist);
 
-  dim_vector dv (npts);
+  dim_vector dv (npts, 1);
   fftw_plan plan = octave_fftw_planner::create_plan (1, dv, nsamples,
                                                      stride, dist, in, out);
 
@@ -783,7 +783,7 @@
 {
   dist = (dist < 0 ? npts : dist);
 
-  dim_vector dv (npts);
+  dim_vector dv (npts, 1);
   fftw_plan plan = octave_fftw_planner::create_plan (FFTW_FORWARD, 1, dv,
                                                      nsamples, stride,
                                                      dist, in, out);
@@ -801,7 +801,7 @@
 {
   dist = (dist < 0 ? npts : dist);
 
-  dim_vector dv (npts);
+  dim_vector dv (npts, 1);
   fftw_plan plan = octave_fftw_planner::create_plan (FFTW_BACKWARD, 1, dv,
                                                      nsamples, stride,
                                                      dist, in, out);
@@ -891,7 +891,7 @@
 {
   dist = (dist < 0 ? npts : dist);
 
-  dim_vector dv (npts);
+  dim_vector dv (npts, 1);
   fftwf_plan plan = octave_float_fftw_planner::create_plan (1, dv, nsamples,
                                                             stride, dist,
                                                             in, out);
@@ -912,7 +912,7 @@
 {
   dist = (dist < 0 ? npts : dist);
 
-  dim_vector dv (npts);
+  dim_vector dv (npts, 1);
   fftwf_plan plan = octave_float_fftw_planner::create_plan (FFTW_FORWARD, 1,
                                                             dv, nsamples,
                                                             stride, dist,
@@ -931,7 +931,7 @@
 {
   dist = (dist < 0 ? npts : dist);
 
-  dim_vector dv (npts);
+  dim_vector dv (npts, 1);
   fftwf_plan plan = octave_float_fftw_planner::create_plan (FFTW_BACKWARD, 1,
                                                             dv, nsamples,
                                                             stride, dist,