octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ghull -2011. give errors


From: marco atzeri
Subject: Re: ghull -2011. give errors
Date: Wed, 14 Dec 2011 22:50:32 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 12/14/2011 10:25 PM, Tatsuro MATSUOKA wrote:
Hello

I have tried to build octave with qhull -2011 on then mingw platform.
For the qhull -2010,  fntests goes well without FAIL.
However with qhull -2011 gives errors in fntests., for example,


#****************************************************
processing 
e:\usr\Tatsu\mingwhome\octaves\hg\octave-work\src\DLD-FUNCTIONS\convhulln.cc
   ***** testif HAVE_QHULL
  cube = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1];
  [h, v] = convhulln (cube);
  assert (size (h), [6 4]);
  h = sortrows (sort (h, 2), [1:4]);
  assert (h, [1 2 3 4; 1 2 5 6; 1 4 5 8; 2 3 6 7; 3 4 7 8; 5 6 7 8]);
  assert (v, 1, 10*eps);
!!!!! test failed
assert (size (h),[6, 4]) expected
    6   4
but got
    0   3
values do not match
   ***** testif HAVE_QHULL
  cube = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1];
  [h, v] = convhulln (cube, "QJ");
  assert (size (h), [12 3]);
  assert (sortrows (sort (h, 2), [1:3]), [1 2 4; 1 2 5; 1 4 5; 2 3 4; 2 3 6; 2 
5 6; 3 4 8; 3 6 7; 3 7 8; 4 5 8; 5 6 8; 6 7 8]);
  assert (v, 1.0, 1e6*eps);
!!!!! test failed
assert (size (h),[12, 3]) expected
    12    3
but got
    0   3
values do not match
   ***** testif HAVE_QHULL
  tetrahedron = [1 1 1;-1 -1 1;-1 1 -1;1 -1 -1];
  [h, v] = convhulln (tetrahedron);
  h = sortrows (sort (h, 2), [1 2 3]);
  assert (h, [1 2 3;1 2 4; 1 3 4; 2 3 4]);
  assert (v, 8/3, 10*eps);
!!!!! test failed
assert (h,[1, 2, 3; 1, 2, 4; 1, 3, 4; 2, 3, 4]) expected
    1   2   3
    1   2   4
    1   3   4
    2   3   4
but got
[](0x3)
Dimensions don't match
#****************************************************

Does anyone try to build with qull-2011?
I would like to know whether the above behavior is mingw specific or not.

Regards

Tatsuro

It is not mingw specific, 2011 has some changes that caused
unexpected behaviour.

https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2011-November/025757.html

Marco


reply via email to

[Prev in Thread] Current Thread [Next in Thread]