octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63643] [octave-forge](image) warnings about "


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63643] [octave-forge](image) warnings about "abs" when compiling with clang
Date: Thu, 26 Jan 2023 07:54:50 -0500 (EST)

Follow-up Comment #17, bug #63643 (project octave):

I just recompiled against the latest snapshot and I have another 
FAIL (:


octave:1> pkg load image
octave:2> test stretchlim 
***** test
 assert (stretchlim ([(.05:.05:1) (2:4)], 0.2), [0.25; 0.95], eps)
 assert (stretchlim ([(.05:.05:1) (2:5)], 0.2), [0.25; 1])
 assert (stretchlim ([(.05:.05:1) (2:6)], 0.2), [0.3; 1], eps)
 assert (stretchlim ([(.05:.05:1) (2:7)], 0.2), [0.3; 1])
!!!!! test failed
ASSERT errors for:  assert (stretchlim ([(.05:.05:1), (2:7)], 0.2),[0.3; 1])

  Location  |  Observed  |  Expected  |  Reason
    (1)          0.3          0.3        Abs err 5.5511e-17 exceeds tol 0 by
6e-17



I think all asserts that compare double should have non-zero tolerance.

Dmitri.
-- 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63643>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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