|
From: | Nir Krakauer |
Subject: | [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result |
Date: | Wed, 2 Nov 2016 12:40:38 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14 |
Follow-up Comment #3, bug #49506 (project octave): The problem is caused by how vector indexing is working in Octave. If *a* is 2x1, while *idx* is 1x2, is there any reason that *a(idx)* is 2x1? Seems like it should be 1x2. (If *a* was a matrix instead of a vector, *a(idx)* would indeed be 1x2.) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49506> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |