[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45055] splines: bin_value unit test fails
From: |
Rafael Laboissiere |
Subject: |
[Octave-bug-tracker] [bug #45055] splines: bin_value unit test fails |
Date: |
Fri, 08 May 2015 13:16:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?45055>
Summary: splines: bin_value unit test fails
Project: GNU Octave
Submitted by: rlaboiss
Submitted on: Fri 08 May 2015 01:16:28 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: Any
_______________________________________________________
Details:
The unit test for the bin_value function fails for the new released version
1.2.8 of the splines package (I am using Octave 4.0.0-rc4 and did not test it
with previous versions):
octave:1> pkg load splines
octave:2> test bin_values
***** assert (w_bin, [NaN NaN; 3 1]);
!!!!! test failed
ASSERT errors for: assert (w_bin,[NaN, NaN; 3, 1])
Location | Observed | Expected | Reason
(1,1) Inf NaN 'NaN' mismatch
(1,2) Inf NaN 'NaN' mismatch
shared variables
scalar structure containing the fields:
x =
1
2
2
3
4
y =
0 0
1 1
2 1
3 4
5 NaN
x_bin =
1.0000
2.3333
y_bin =
0 0
2 2
w_bin =
Inf Inf
3 1
n_bin =
1
3
It worked in version 1.2.7. Reverting the commit 496daa7
<http://sourceforge.net/p/octave/splines/ci/496daa78479364f61b4fd96e8fdb060644adfce2/>
fixes the problem.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45055>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45055] splines: bin_value unit test fails,
Rafael Laboissiere <=