Mercurial > hg > octave-lyh
diff examples/oregonator.cc @ 3681:df54d394acc0
[project @ 2000-06-26 17:46:58 by jwe]
author | jwe |
---|---|
date | Mon, 26 Jun 2000 17:47:00 +0000 |
parents | e68976912bb5 |
children | 6b7bd9e406be |
line wrap: on
line diff
--- a/examples/oregonator.cc +++ b/examples/oregonator.cc @@ -12,7 +12,7 @@ { ColumnVector dx (3); - ColumnVector x = args(0).column_vector_value (); + ColumnVector x (args(0).vector_value ()); dx(0) = 77.27 * (x(1) - x(0)*x(1) + x(0) - 8.375e-06*pow (x(0), 2)); dx(1) = (x(2) - x(0)*x(1) - x(1)) / 77.27;