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

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

[Octave-bug-tracker] [bug #47654] odeset does not allow zero value for t


From: Francesco Faccio
Subject: [Octave-bug-tracker] [bug #47654] odeset does not allow zero value for tolerance
Date: Sat, 09 Apr 2016 14:01:07 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, bug #47654 (project octave):

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. 

I have checked the latest version of Matlab and if I set the options using
opt=odeset('AbsTol', 0, 'RelTol', 1e-3) I get:


Error using odearguments (line 131)
AbsTol must be positive.


or, if I set RelTol to zero: 


Error using odearguments (line 123)
RelTol must be a positive scalar.


In the latest version of Matlab it's not allowed to set one of these options
to zero, so this may not be considered a bug anymore.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47654>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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