Mercurial > hg > octave-lyh
diff examples/oregonator.cc @ 4205:6b7bd9e406be
[project @ 2002-11-27 22:04:51 by jwe]
author | jwe |
---|---|
date | Wed, 27 Nov 2002 22:04:51 +0000 |
parents | df54d394acc0 |
children | 4270ded9ddc6 |
line wrap: on
line diff
--- a/examples/oregonator.cc +++ b/examples/oregonator.cc @@ -14,7 +14,7 @@ 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(0) = 77.27 * (x(1) - x(0)*x(1) + x(0) - 8.375e-06*pow (x(0), 2.0)); dx(1) = (x(2) - x(0)*x(1) - x(1)) / 77.27; dx(2) = 0.161*(x(0) - x(2));