GNU Octave - Bugs: bug #47654, ode23/ode45 do not allow zero...
bug #47654: ode23/ode45 do not allow zero value for tolerance
Submitter: | Carlo de Falco <cdf> | ||
Submitted: | Sat 09 Apr 2016 04:11:36 AM UTC | ||
Category: | Octave Function | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Matlab Compatibility |
Status: | Fixed | Assigned to: | cdf |
Originator Name: | Open/Closed: | Closed | |
Release: | dev | Operating System: | Any |
Fixed Release: | None | Planned Release: | None |
Discussion locked!
Jump to the original submission
Wed 23 Nov 2016 10:19:35 AM UTC, comment #6: |
Carlo de Falco <cdf> |
Wed 23 Nov 2016 04:28:07 AM UTC, comment #5: The current Octave code allows setting AbsTol or RelTol to 0. However, ode23 will not allow a 0 for either tolerance.
|
Rik <rik5> |
Sat 09 Apr 2016 03:32:14 PM UTC, comment #4: I have version R2016a, but I was wrong: Matlab is able to construct odeset with AbsTol or/and RelTol equal to zero.
|
Francesco Faccio <francesco_faccio> |
Sat 09 Apr 2016 02:30:53 PM UTC, comment #3: Hi Francesco, thanks for looking into this.
|
Carlo de Falco <cdf> |
Sat 09 Apr 2016 02:01:07 PM UTC, comment #2: Let me explain better the second point of the previous post: that warning appears when I set both AbsTol and RelTol to zero, because in function AbsRel_Norm there is an element by element division and the denominator depends on these two parameters. So for any index of the vectors AbsRel and AbsTol, there must be at most one element equal to zero.
|
Francesco Faccio <francesco_faccio> |
Sat 09 Apr 2016 12:25:54 PM UTC, comment #1: Dear Carlo,
|
Francesco Faccio <francesco_faccio> |
Sat 09 Apr 2016 04:11:36 AM UTC, original submission:
In Matlab, odeset allows to set either 'AbsTol' or 'RelTol'
|
Carlo de Falco <cdf> |
Depends on the following items: None found
Items that depend on this one: None found
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.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-11-23 | cdf | Status | Need Info | Fixed | |
Open/Closed | Open | Closed | |||
Discussion Lock | None | Locked | |||
2016-11-23 | rik5 | Status | In Progress | Need Info | |
Summary | odeset does not allow zero value for tolerance | ode23/ode45 do not allow zero value for tolerance | |||
2016-04-09 | francesco_faccio | Attached File | - | Added odestructvaluecheck.diff, #36872 | |
Attached File | - | Added AbsRelNorm.diff, #36873 |
Powered by Savane 3.13-4448.
Corresponding source code
Octave 4.2:
Matlab 2016a
The behaviour looks compatible to me, I think we can close this item.