|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #48950] functions cart2pol, cart2sph, pol2cart, sph2cart fail when Z size different from X, Y |
Date: | Fri, 2 Sep 2016 19:47:04 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #48950 (project octave): Status: Confirmed => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #2: I checked in a fix here http://hg.savannah.gnu.org/hgweb/octave/rev/1e88747417e6. In the end, I used common_size() not only to bring the inputs to the same size, but also to simplify the input validation. I also added a BIST test for pol2cart and sph2cart to catch this bug. Thanks for noticing this and suggesting a solution. Closing report. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48950> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |