changeset 4205:6b7bd9e406be

[project @ 2002-11-27 22:04:51 by jwe]
author jwe
date Wed, 27 Nov 2002 22:04:51 +0000
parents a9c76557a005
children fc514e47666e
files examples/oregonator.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/oregonator.cc	Tue Nov 26 17:49:45 2002 +0000
+++ b/examples/oregonator.cc	Wed Nov 27 22:04:51 2002 +0000
@@ -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));