diff liboctave/base-dae.h @ 3995:ee0304212be0

[project @ 2002-07-17 04:32:42 by jwe]
author jwe
date Wed, 17 Jul 2002 04:32:42 +0000
parents 46388d6a4e44
children 4c8a2e4e0717
line wrap: on
line diff
--- a/liboctave/base-dae.h
+++ b/liboctave/base-dae.h
@@ -58,8 +58,7 @@
   void initialize (const ColumnVector& x0, double t0)
     {
       base_diff_eqn::initialize (x0, t0);
-      xdot.resize (x0.length (), 0.0);
-      force_restart ();
+      xdot = ColumnVector (x0.length (), 0.0);
     }
 
   void initialize (const ColumnVector& x0, const ColumnVector& xdot0,
@@ -67,7 +66,6 @@
     {
       base_diff_eqn::initialize (x0, t0);
       xdot = xdot0;
-      force_restart ();
     }
 
   ColumnVector state_derivative (void) { return xdot; }