diff liboctave/DASSL.cc @ 302:676b70238e68

[project @ 1994-01-18 05:38:48 by jwe]
author jwe
date Tue, 18 Jan 1994 05:40:29 +0000
parents 3c23b8ea9099
children 20c1412d7924
line wrap: on
line diff
--- a/liboctave/DASSL.cc
+++ b/liboctave/DASSL.cc
@@ -95,7 +95,7 @@
     info [i] = 0;
 }
 
-DAE::DAE (Vector& state, double time, DAEFunc& f)
+DAE::DAE (const Vector& state, double time, DAEFunc& f)
 {
   n = state.capacity ();
   t = time;
@@ -122,7 +122,7 @@
     info [i] = 0;
 }
 
-DAE::DAE (Vector& state, Vector& deriv, double time, DAEFunc& f)
+DAE::DAE (const Vector& state, const Vector& deriv, double time, DAEFunc& f)
 {
   if (deriv.capacity () != state.capacity ())
     {
@@ -169,7 +169,7 @@
 }
 
 void
-DAE::initialize (Vector& state, double time)
+DAE::initialize (const Vector& state, double time)
 {
   integration_error = 0;
   restart = 1;
@@ -180,7 +180,7 @@
 }
 
 void
-DAE::initialize (Vector& state, Vector& deriv, double time)
+DAE::initialize (const Vector& state, const Vector& deriv, double time)
 {
   integration_error = 0;
   restart = 1;