|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #49919] ode45 event problem, event active at initial time |
Date: | Fri, 23 Dec 2016 17:46:01 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #49919 (project octave): Status: None => Need Info _______________________________________________________ Follow-up Comment #1: @Bill: Can you send a pointer to the location in the Matlab docs where this is explained? I don't think it was clear what we were aiming for. Also, I think bug #49846 (wrong initial time for Event function) bears on this. If I run your test script with Octave-4.2.0 I get event_first_step ie = 1 tfinal = 6.2832 yfinal = 1.0000e+00 2.7756e-17 -1.1102e-16 3.0000e-01 If I run the stable branch code after changeset: 22894:544dac72d414 branch: stable parent: 22891:fd056e736f73 user: Rik <address@hidden> date: Thu Dec 15 15:23:43 2016 -0800 summary: Initialize ODE Event function with start time (bug #49846). I get octave:1> event_first_step ie = 1 tfinal = 0 yfinal = 1.0000e+00 2.7756e-17 -1.1102e-16 3.0000e-01 The variable tfinal looks correct because the last integration time was 0. I'm tempted to close #49846. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49919> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |