bugGNU Octave - Bugs: bug #48289, [octave forge] (odepkg) JPattern...

 
 

bug #48289: [octave forge] (odepkg) JPattern not defined - ode23s

Submitter:  Francesco Faccio <francesco_faccio>
Submitted:  Tue 21 Jun 2016 10:53:13 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  cdf
Originator Name:  Francesco Faccio Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 09 Dec 2022 05:42:35 PM UTC, comment #2: 

in addition to ode23s having moved from octave forge to octave core some time ago, the error in comment #0 no longer occurs and the solver completes correctly (output data appears a sufficiently match matlab without rigorous examination on accuracy).  It seems the JPattern was added/fixed some time ago.  Closing as fixed.

Nicholas Jankowski <nrjank>
Group Member
Wed 22 Jun 2016 05:35:41 AM UTC, comment #1: 

This was previous reported as bug #47350, marking that one as a duplicate of this one now that there is a patch.

Mike Miller <mtmiller>
Group Member
Tue 21 Jun 2016 10:53:13 PM UTC, original submission:  

Hi!

I was looking at odepkg and I noticed a bug. While in Matlab this works nice (although it is not the most appropriate example of the use of JPattern):


fun = @(t,y) [y(2); y(2)-y(1)];

options = odeset ("JPattern",[0 1; 1 1]);

[vt, vy] = ode23s (fun, [0 20], [1 0], options);


in Octave 4.1.0+ I get:


error: element number 2 undefined in return list
error: called from
    ode23s at line 89 column 12


The file attached should fix the bug.

Francesco Faccio <francesco_faccio>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #37538:  ode23s.diff added by francesco_faccio (987B - text/x-patch)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by cdf (Updated the item)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by francesco_faccio (Submitted the item)
  • -email is unavailable- added by francesco_faccio
  • -email is unavailable- added by francesco_faccio
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-09 nrjank StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
        Operating SystemGNU/Linux Any
    2017-08-22 cdf Assigned toNone cdf
    2017-08-13 jwe SummaryJPattern not defined - ode23s [octave forge] (odepkg) JPattern not defined - ode23s
    2016-06-22 mtmiller Dependencies- bugs #47350 is dependent
    2016-06-22 mtmiller StatusNone Patch Submitted
    2016-06-21 francesco_faccio Attached File- Added ode23s.diff, #37538
        Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code