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: Wed, 25 Jan 2023 10:42:36 -0500 (EST)

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

I do not see any warning during compile of the latest snaposhot.
"pkg test image" has one failure at stretchlim.m


octave:3> pkg load image
octave:4> 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])
 assert (stretchlim ([(.05:.05:1) (2:7)], 0.2), [0.3; 1])
!!!!! test failed
ASSERT errors for:  assert (stretchlim ([(.05:.05:1), (2:6)], 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



Perhaps relax tolerance to "eps" in those asserts?

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]