|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #52243] some integrators don't preserve type single |
Date: | Thu, 19 Oct 2017 00:39:44 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #2, bug #52243 (project octave): I checked in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/5fc5c1a49aa1) which modifies quadcc to return a single type output if any limit of integration is a single. I also changed the function to base the tolerance values on whether the inputs are double or single. It is now equivalent to quadgk in using an AbsTol of 1e-10 for doubles and 1e-6 for singles. The only quadrature routine which still has a problem is integral3. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52243> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |