summaryrefslogtreecommitdiffstats
path: root/tests/CK45.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-06-10 01:21:32 -0600
committerTavian Barnes <tavianator@gmail.com>2011-06-10 01:21:32 -0600
commit1d2bcd60d3e0cb8649ba5d2ae8672457849656ce (patch)
tree0fdec95e8d38eab2bd922dfdada6731823e5a37b /tests/CK45.cpp
parentd03ab99aa999544403652e0739c9bea3b8b7835e (diff)
downloadvz-1d2bcd60d3e0cb8649ba5d2ae8672457849656ce.tar.xz
Make the test DE care about x.
Diffstat (limited to 'tests/CK45.cpp')
-rw-r--r--tests/CK45.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CK45.cpp b/tests/CK45.cpp
index 0d95f67..7d2d390 100644
--- a/tests/CK45.cpp
+++ b/tests/CK45.cpp
@@ -23,11 +23,11 @@
#include <iostream>
#include <iomanip>
-// y' = y (y == C*exp(x))
+// y' = x*y (y == C*exp(x^2/2))
double
f(double x, double y)
{
- return y;
+ return x*y;
}
int