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

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

[Octave-bug-tracker] [bug #46658] fzero with single precision args fails


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #46658] fzero with single precision args fails to terminate
Date: Fri, 11 Dec 2015 09:51:33 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #5, bug #46658 (project octave):

Nice. Works for me with all combos of single and double.

I also looked at

fminsearch.m
fsolve.m
fminbnd.m
fminunc.m

There are a couple of places where class(x0) is used but when I tested them
with with similar problems there was no problem with any combination of
single/double.

fminunc.m:  macheps = eps (class (x0));
fsolve.m:  macheps = eps (class (x0));

The TolX and TolFun are hardcoded (to 1e-7).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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