bugGNU Octave - Bugs: bug #54855, linear-algebra/lscov.m test failed...

 
 

bug #54855: linear-algebra/lscov.m test failed with gnu 6.4.0 + intel mkl 2019.0

Submitter:  None
Submitted:  Wed 17 Oct 2018 01:22:06 PM UTC
   
 
Category:  Test Suite Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  mtmiller
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Oct 2018 10:56:28 PM UTC, comment #1: 

Thank you for the bug report. I relaxed the tolerance on the failing test on the stable branch, this will be included in the next Octave bugfix or major release

https://hg.savannah.gnu.org/hgweb/octave/rev/7a7c31b93216

Mike Miller <mtmiller>
Group Member
Wed 17 Oct 2018 01:22:06 PM UTC, original submission:  

When I compile octave with gcc 6.4.0 + intel mkl 2019.0
then only linear-algebra/lscov.m test failed.

Here is failed test log.


>>>>> processing /home/list1331/Downloads/octave-4.4.1/scripts/linear-algebra/lscov.m
***** test
 ## Adapted from example in Matlab documentation
 x1 = [.2 .5 .6 .8 1.0 1.1]';
 x2 = [.1 .3 .4 .9 1.1 1.4]';
 X = [ones(size(x1)) x1 x2];
 y = [.17 .26 .28 .23 .27 .34]';
 [b, se_b, mse, S] = lscov(X, y);
 assert(b, [0.1203 0.3284 -0.1312]', 1E-4);
 assert(se_b, [0.0643 0.2267 0.1488]', 1E-4);
 assert(mse, 0.0015, 1E-4);
 assert(S, [0.0041 -0.0130 0.0075; -0.0130 0.0514 -0.0328; 0.0075 -0.0328 0.0221], 1E-4);
 w = [1 1 1 1 1 .1]';
 [bw, sew_b, msew] = lscov (X, y, w);
 assert(bw, [0.1046 0.4614 -0.2621]', 1E-4);
 assert(sew_b, [0.0309 0.1152 0.0814]', 1E-4);
 assert(msew, 3.4741e-004, -1E-4);
 V = .2*ones(length(x1)) + .8*diag(ones(size(x1)));
 [bg, sew_b, mseg] = lscov (X, y, V);
 assert(bg, [0.1203 0.3284 -0.1312]', 1E-4);
 assert(sew_b, [0.0672 0.2267 0.1488]', 1E-4);
 assert(mseg, 0.0019, 1E-4);
 y2 = [y 2*y];
 [b2, se_b2, mse2, S2] = lscov (X, y2);
 assert(b2, [b 2*b], 2*eps);
 assert(se_b2, [se_b 2*se_b], eps);
 assert(mse2, [mse 4*mse], eps);
 assert(S2(:, :, 1), S, eps);
 assert(S2(:, :, 2), 4*S, eps);
!!!!! test failed
ASSERT errors for:  assert (se_b2,[se_b, 2 * se_b],eps)

  Location  |  Observed  |  Expected  |  Reason
   (2,2)       0.45338      0.45338      Abs err 3.3307e-16 exceeds tol 2.2204e-16 by 1e-16


Thank you,

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45223:  config.h added by None (114KiB - text/x-chdr - Here is my test and config log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2018-10-24 mtmiller CategoryNone Test Suite
    Severity3 - Normal 2 - Minor
    Item GroupNone Inaccurate Result
    StatusNone Fixed
    Assigned toNone mtmiller
    Open/ClosedOpen Closed
2018-10-17 None Attached File- Added config.h, #45223

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code