bugGNU Octave - Bugs: bug #35047, Test fail in griddata3.m (MinGW)

 
 

bug #35047: Test fail in griddata3.m (MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Tue 13 Dec 2011 03:48:51 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Dec 2011 05:54:30 AM UTC, comment #2: 

I have cleaned up the build directory and build the recent development source. All related FAILs are disappeared.

Thanks!

Tatsuro MATSUOKA <tmacchant>
Wed 14 Dec 2011 12:15:41 AM UTC, comment #1: 

Fixed by deleting old onCleanup.oct file.

Rik <rik5>
Group administrator
Tue 13 Dec 2011 03:48:51 AM UTC, original submission:  

changeset 14036:29e9eb59f917
date Mon Dec 12 13:52:35 2011 -0800


>>>>> processing e:\usr\Tatsu\mingwhome\octaves\hg\octave-work\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
API version api-v45+ found in .oct file function `onCleanup'
       does not match the running Octave (API version api-v46+)
       this can lead to incorrect results or other failures
       you can fix this problem by recompiling this .oct file
  ***** 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
API version api-v45+ found in .oct file function `onCleanup'
       does not match the running Octave (API version api-v46+)
       this can lead to incorrect results or other failures
       you can fix this problem by recompiling this .oct file


The FAIL seems to be related qhull.
Any suggestions?

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-14 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code