|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59709] ode event handler function is incorrect when direction variable is [-1, -1] |
Date: | Thu, 17 Dec 2020 15:12:02 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #3, bug #59709 (project octave): Very interesting. I wonder if Matlab didn't consider the case where you might have two events simultaneously. Could you try changing the "val" line to val = [x-3.5, x-3, x-(3.5 + 1e-14)]; and re-running? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59709> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |