bugGNU Octave - Bugs: bug #41290, test failed in chol.cc due to...

 
 

bug #41290: test failed in chol.cc due to slightly exceeded tol

Submitter:  Andreas Weber <andy1978>
Submitted:  Tue 21 Jan 2014 09:51:39 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 17 Jun 2023 07:04:40 AM UTC, comment #4: 

The following patch fixes a chol.cc test failure on my system:

diff -r dedc746ecd58 libinterp/corefcn/chol.cc
--- a/libinterp/corefcn/chol.cc Fri Jun 16 15:04:39 2023 -0400
+++ b/libinterp/corefcn/chol.cc Sat Jun 17 16:58:21 2023 +1000
@@ -774,7 +774,7 @@
 %!
 %! R1 = cholupdate (R1, uc, "-");
 %! assert (norm (triu (R1)-R1, Inf), 0);
-%! assert (norm (R1 - R, Inf) < 1e1*eps);
+%! assert (norm (R1 - R, Inf) < 2e1*eps);

 %!test
 %! R = chol (single (A));


Robert Jenssen <morgawr>
Wed 29 Jan 2014 09:33:12 PM UTC, comment #3: 

I'll close it for now and we can see if we get further reports.

Rik <rik5>
Group administrator
Wed 29 Jan 2014 10:21:19 AM UTC, comment #2: 

Dear Rik,
I've bisected the failed test the last days. I always did a fresh, out of source, build (run ./bootstrap before in src) and my configure call was "../octave-src/configure --disable-java --disable-docs --disable-gui". After that make -j8

The last steps were:

3a2daa39c682 bad (maximum absolute error 3.55315e-15 exceeds tolerance 3.55271e-15)
f50fe9c50f55 good
91c32a702284 good


So for me it looks like the merge from stable to default caused the problem on my system.

If no one else sees this failed test or can reproduce the problem we can close this report if you want.

-- Andy

Andreas Weber <andy1978>
Group Member
Tue 21 Jan 2014 10:07:05 PM UTC, comment #1: 

Are you suggesting that cset b14cdae65abd introduced the test failure, or only that this was the latest version you happened to compile that shows the problem?

Since you have access to Mercurial, what happens when you go back to the 3.8.0 release tag


hg update -r release-3-8-0
make distclean
./configure
make
run-octave -f
test chol


Do the failures begin with the 3.8.0 release or are they even earlier?

This works for me on Mint 13 (equivalent to Kubuntu 12.04) and libcholmod 1.7.1 with an Intel Core2Duo.


Rik <rik5>
Group administrator
Tue 21 Jan 2014 09:51:39 AM UTC, original submission:  

Debian wheezy, libcholmod1.7.1

"make check" after build of b14cdae65abd (stable) reports for dldfcn/chol.cc-tst

ASSERT errors for:  assert (cca' cca,ca,16 eps)
  Location  |  Observed  |  Expected  |  Reason
   (3,3)     16+5.5511e-17i       16        Abs err 3.5531e-15 exceeds tol 3.5527e-15

I can reproduce this on 2x AMD Phenom II X6 CPUs and 1x AMD Athlon(tm) 64 X2 all with with Debian wheezy (stable).

Anything else I can test?
-- Andy

Andreas Weber <andy1978>
Group Member

 

(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 morgawr (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by andy1978 (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
    2014-01-29 rik5 Open/ClosedOpen Closed
    2014-01-21 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code