octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63063] ode{23, 45} options "Events" and "Outp


From: Ken Marek
Subject: [Octave-bug-tracker] [bug #63063] ode{23, 45} options "Events" and "OutputFcn" do not perform correctly.
Date: Mon, 19 Sep 2022 21:36:13 -0400 (EDT)

Follow-up Comment #9, bug #63063 (project octave):

I am adding my patch for bug #49408 here, since it depends on the patch in
comment #8. In this patch, I changed how data are stored and processed in
integrate_adaptive.m, which actually solved the outstanding difference when
outputting a struct (last bullet point in comment #8). This patch therefore
also contributes to fixing this bug.

Files:
patch file: <bug_fix_49408_20220919.patch>
Octave/Matlab test cases: <bug63063_data_v3.zip>

Note that all my test cases now match Matlab output exactly (apart from minor
formatting differences). I also removed the warning when integrate_adaptive.m
encounters a terminal Event or OutputFcn return, since Matlab doesn't display
a warning in either of those cases.

(file #53726, file #53727)

    _______________________________________________________

Additional Item Attachment:

File name: bug_fix_49408_20220919.patch   Size:18 KB
   
<https://file.savannah.gnu.org/file/bug_fix_49408_20220919.patch?file_id=53726>

File name: bug63063_data_v3.zip           Size:3 KB
    <https://file.savannah.gnu.org/file/bug63063_data_v3.zip?file_id=53727>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63063>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]