[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39123] Test failures in nrbbasisfunder (packa
From: |
Thomas Weber |
Subject: |
[Octave-bug-tracker] [bug #39123] Test failures in nrbbasisfunder (package: nurbs) |
Date: |
Thu, 30 May 2013 12:00:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31 |
URL:
<http://savannah.gnu.org/bugs/?39123>
Summary: Test failures in nrbbasisfunder (package: nurbs)
Project: GNU Octave
Submitted by: tweber
Submitted on: Do 30 Mai 2013 12:00:52 GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Thomas Weber
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.4
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
I am experiencing several test failures when packaging the nurbs 1.3.7 release
for Debian. I am only giving one here to get feedback on where to look. The
error is not deterministic as it is not always the same test that fails and
when it fails, the error margin changes (I somehow feel that this points to a
library issue, but let's see):
octave:2> ver
----------------------------------------------------------------------
GNU Octave Version 3.6.4
GNU Octave License: GNU General Public License
Operating System: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
--------------+---------+-----------------------
nurbs *| 1.3.7 | /usr/share/octave/packages/nurbs-1.3.7
octave:3> test nrbbasisfunder
PASSES 3 out of 3 tests
octave:4> pwd
ans = /usr/share/octave/packages/nurbs-1.3.7
octave:5> cd ..
octave:6> test nrbbasisfunder
***** test
U = [0 0 0 0 1 1 1 1];
x = [0 1/3 2/3 1] ;
y = [0 0 0 0];
w = rand(1,4);
nrb = nrbmak ([x;y;y;w], U);
u = linspace(0, 1, 30);
[Bu, id] = nrbbasisfunder (u, nrb);
#plot(u, Bu)
assert (sum(Bu, 2), zeros(numel(u), 1), 1e-10),
!!!!! test failed
assert (sum (Bu, 2),zeros (numel (u), 1),1e-10) expected
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
but got
0.000000
-0.000000
-0.000000
0.000000
0.000000
-0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
-0.000000
0.000000
0.000000
0.000000
-0.000000
0.000000
-0.000000
-0.000000
0.000000
0.000000
0.057924
0.000000
-0.000000
0.000000
0.000000
-0.000000
0.000000
maximum absolute error 0.0579239 exceeds tolerance 1e-10
octave:7> diary off
So, when I am running the tests in the package directory, the tests pass. If I
run it outside, it fails.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39123>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #39123] Test failures in nrbbasisfunder (package: nurbs),
Thomas Weber <=