[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65146] griddata - linear interpolation incorr
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #65146] griddata - linear interpolation incorrect output when number of query points = 3 |
Date: |
Wed, 10 Jan 2024 15:17:36 -0500 (EST) |
Update of bug#65146 (group octave):
Status: None => Ready For Test
Planned Release: None => 9.1.0 (current stable)
Summary: griddata - linear interpolation output errors when
number of query points = 3 => griddata - linear interpolation incorrect output
when number of query points = 3
_______________________________________________________
Follow-up Comment #1:
verified it was simply cross guessing wrong at what dimension to operate over
when ni = 3.
since the query points are forced into columns already, changing
N = cross ([x2-x1, y2-y1, z2-z1], [x3-x1, y3-y1, z3-z1]);
to
N = cross ([x2-x1, y2-y1, z2-z1], [x3-x1, y3-y1, z3-z1], 2);
was sufficient.
Added a BIST with some checks, it passes the test suite so doesn't seem to
break any other functions. Pushed to stable as:
https://hg.savannah.gnu.org/hgweb/octave/rev/dfd8fcca6652
marking ready for test.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65146>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/