[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45542] griddatan unable to perform 4-dimensio
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #45542] griddatan unable to perform 4-dimensional interpolation. |
Date: |
Fri, 12 Jul 2019 07:59:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0 |
Update of bug #45542 (project octave):
Status: Fixed => In Progress
Open/Closed: Closed => Open
_______________________________________________________
Follow-up Comment #5:
The test suite running on the build bots fails with the following errors:
>>>>> processing
/scratch/buildbot/workers/jwe-debian-x86_64-1/clang-4_0-debian/src/scripts/geometry/griddata3.m
***** testif HAVE_QHULL
old_state = rand ("state");
restore_state = onCleanup (@() rand ("state", old_state));
rand ("state", 0);
x = 2 * rand (1000, 1) - 1;
y = 2 * rand (1000, 1) - 1;
z = 2 * rand (1000, 1) - 1;
v = x.^2 + y.^2 + z.^2;
[xi, yi, zi] = meshgrid (-0.8:0.2:0.8);
vi = griddata3 (x, y, z, v, xi, yi, zi, "linear");
vv = vi - xi.^2 - yi.^2 - zi.^2;
assert (max (abs (vv(:))), 0, 0.1);
!!!!! test failed
product: nonconformant arguments (op1 is 4x729, op2 is 729x4)
***** testif HAVE_QHULL
old_state = rand ("state");
restore_state = onCleanup (@() rand ("state", old_state));
rand ("state", 0);
x = 2 * rand (1000, 1) - 1;
y = 2 * rand (1000, 1) - 1;
z = 2 * rand (1000, 1) - 1;
v = x.^2 + y.^2 + z.^2;
[xi, yi, zi] = meshgrid (-0.8:0.2:0.8);
vi = griddata3 (x, y, z, v, xi, yi, zi, "nearest");
vv = vi - xi.^2 - yi.^2 - zi.^2;
assert (max (abs (vv(:))), 0, 0.1);
!!!!! test failed
product: nonconformant arguments (op1 is 4x729, op2 is 729x4)
>>>>> processing
/scratch/buildbot/workers/jwe-debian-x86_64-1/clang-4_0-debian/src/scripts/geometry/griddatan.m
***** testif HAVE_QHULL
[xx,yy] = meshgrid (linspace (-1,1,32));
xi = [xx(:), yy(:)];
x = 2*rand (100,2) - 1;
x = [x;1,1;1,-1;-1,-1;-1,1];
y = sin (2 * sum (x.^2,2));
zz = griddatan (x,y,xi,"linear");
zz2 = griddata (x(:,1),x(:,2),y,xi(:,1),xi(:,2),"linear");
assert (zz, zz2, 1e-10);
!!!!! test failed
product: nonconformant arguments (op1 is 3x1024, op2 is 1024x3)
Re-opening because I think this might be related to this change.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?45542>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/