diff liboctave/DASRT.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 8a5e980da6aa
line wrap: on
line diff
--- a/liboctave/DASRT.cc
+++ b/liboctave/DASRT.cc
@@ -156,7 +156,7 @@
 
       initialized = true;
 
-      info.resize (15);
+      info.resize (15, 1);
 
       for (octave_idx_type i = 0; i < 15; i++)
         info(i) = 0;
@@ -199,8 +199,8 @@
       liw = 21 + n;
       lrw = 50 + 9*n + n*n + 3*ng;
 
-      iwork.resize (liw);
-      rwork.resize (lrw);
+      iwork.resize (liw, 1);
+      rwork.resize (lrw, 1);
 
       info(0) = 0;
 
@@ -253,7 +253,7 @@
 
       DAEFunc::reset = false;
 
-      jroot.resize (ng, 1);
+      jroot.resize (ng, 1, 1);
 
       pjroot = jroot.fortran_vec ();