summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/ode.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/ode.asy')
-rw-r--r--Master/texmf-dist/asymptote/ode.asy3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/ode.asy b/Master/texmf-dist/asymptote/ode.asy
index 51941844fc4..7104a8d1532 100644
--- a/Master/texmf-dist/asymptote/ode.asy
+++ b/Master/texmf-dist/asymptote/ode.asy
@@ -264,7 +264,7 @@ solution integrate(real y, real c=0, real f(real t, real y), real a, real b=a,
{
solution S;
S.t=new real[] {a};
- S.y=new real[]{y};
+ S.y=new real[] {y};
if(h == 0) {
if(b == a) return S;
@@ -323,6 +323,7 @@ solution integrate(real y, real c=0, real f(real t, real y), real a, real b=a,
} else {
t += h;
y=y0+highOrder;
+ S.t.push(t);
S.y.push(y);
}
}