[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52004] assert with tolerance
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #52004] assert with tolerance |
Date: |
Tue, 12 Sep 2017 19:35:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL:
<http://savannah.gnu.org/bugs/?52004>
Summary: assert with tolerance
Project: GNU Octave
Submitted by: ernstreissner
Submitted on: Tue 12 Sep 2017 11:35:30 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: ernstreissner
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
assert(3, 3.1,0.1) yields
error: ASSERT errors for: assert (3,3.1,0.1)
Location | Observed | Expected | Reason
() 3 3.1 Abs err 0.1 exceeds tol 0.1
although 0.1 does not exceed 0.1.
In my opinion, an error shall be raised only if deviation exceeds tolerance.
not if deviation equals tolerance.
Note that this form of assertion is typical for octave
and has no counterpart in matlab.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52004>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52004] assert with tolerance,
Ernst Reissner <=
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Dan Sebald, 2017/09/12
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Dan Sebald, 2017/09/12
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Michael Godfrey, 2017/09/13
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Kai Torben Ohlhus, 2017/09/13
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Dan Sebald, 2017/09/13
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Mike Miller, 2017/09/13
- [Octave-bug-tracker] [bug #52004] assert with tolerance, Ernst Reissner, 2017/09/13