[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56515] griddatan errors when querying with on
From: |
Gerrit |
Subject: |
[Octave-bug-tracker] [bug #56515] griddatan errors when querying with only one valid point |
Date: |
Mon, 17 Jun 2019 23:13:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?56515>
Summary: griddatan errors when querying with only one valid
point
Project: GNU Octave
Submitted by: gerrit0
Submitted on: Tue 18 Jun 2019 03:13:22 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Any
_______________________________________________________
Details:
When providing only one query point, or multiple query points with only one
query point inside the generated convex hull, the call to griddatan will
fail.
Demo:
x = [ 0, 0; 1, 1; 0, 1; 1, 0 ]
y = [ 1; 2; 3; 4 ]
xi = [ .5, .5 ]
griddatan(x, y, xi)
The last line will produce the error
error: griddatan: =: nonconformant arguments (op1 is 1x1, op2 is 3x1)
error: called from
griddatan at line 84 column 15
The patch provided by Juho in bug #45542 appears to fix this simple case, but
I haven't tested it in more complicated ones.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56515>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56515] griddatan errors when querying with only one valid point,
Gerrit <=