bugGNU Octave - Bugs: bug #47756, [ode suit] integrate_adaptive...

 
 

bug #47756: [ode suit] integrate_adaptive fails with vertical tspan

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Thu 21 Apr 2016 07:12:39 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: juanpiOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 15 Jul 2016 10:02:36 PM UTC, comment #4:

I pushed Juan's patch (http://hg.savannah.gnu.org/hgweb/octave/rev/46ce9eb019a6) after testing that integrate_n_steps and integrate_const didn't need a fix as well. Closing report.

Rik <rik5>
Project Administrator
Tue 12 Jul 2016 04:58:46 PM UTC, comment #3:

Assuming we just go with the original patch, do the other two private integrate functions (integrate_const, integrate_n_steps) also need the same change?

Rik <rik5>
Project Administrator
Thu 07 Jul 2016 08:28:33 AM UTC, comment #2:

The patch works fine for me too.

The other possibility would be to transpose the
's' vector inside 'hermite_quartic_interpolation'

Both ways seems reasonable to me

Jacopo Corno <jcorno>
Thu 07 Jul 2016 06:48:45 AM UTC, comment #1:

Jacopo,

Did you review this patch?

It does fix the problem for me but
is it the correct aproach?

c.

Carlo de Falco <cdf>
Project Member
Thu 21 Apr 2016 07:12:39 PM UTC, original submission:

When tspan is an array of vertical timestamps integrate_adaptive.m fails when attempting hermite interpolation, due to the size of the argument tspan(t_caught).

Example

The patch attached should fix the problem

Juan Pablo Carbajal <juanpi>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #36976:  integrate_adaptive.patch added by juanpi (843B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jcorno (Posted a comment)
  • -unavailable- added by cdf (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by cdf
  • -unavailable- added by cdf
  • -unavailable- added by juanpi (took care of porting from forge)
  • -unavailable- added by juanpi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 Jul 2016 10:02:36 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Wed 29 Jun 2016 10:14:04 AM UTClachlanStatusNone=>Patch Submitted
    Wed 27 Apr 2016 09:43:09 AM UTCcdfCarbon-Copy-=>Added -unavailable-
    Wed 27 Apr 2016 09:42:38 AM UTCcdfCarbon-Copy-=>Added -unavailable-
    Tue 26 Apr 2016 12:48:30 PM UTCjuanpiCarbon-Copy-=>Added -unavailable-
    Thu 21 Apr 2016 07:14:31 PM UTCjuanpiAttached File-=>Added integrate_adaptive.patch, #36976

    Back to the top


    Powered by Savane 3.1-cleanup1