[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46650] disable warning about division by zero
From: |
Ceral Paquet |
Subject: |
[Octave-bug-tracker] [bug #46650] disable warning about division by zero by default |
Date: |
Fri, 11 Dec 2015 07:24:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #7, bug #46650 (project octave):
Matlab seems to have removed the warning after R2006b, according to this
blog:
http://blogs.mathworks.com/loren/2006/10/18/controlling-warning-messages-and-state/
When I try some things in R2013a it seems the msgid is still valid but the
warning is never shown.
>> 1/0
ans =
Inf
>> warning('on','MATLAB:divideByZero')
>> 1/0
ans =
Inf
>> warning('on','MATLAB:divide-by-zero')
Error using warning
Unknown setting or incorrect message identifier 'MATLAB:divide-by-zero'.
>> warning on
>> 1/0
ans =
Inf
>> warning('query','MATLAB:divideByZero')
The state of warning 'MATLAB:divideByZero' is 'on'.
>> 1/0
ans =
Inf
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46650>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46650] Don't warn about division by zero, Ceral Paquet, 2015/12/10
- [Octave-bug-tracker] [bug #46650] Don't warn about division by zero, Ceral Paquet, 2015/12/10
- [Octave-bug-tracker] [bug #46650] Don't warn about division by zero, Mike Miller, 2015/12/10
- [Octave-bug-tracker] [bug #46650] Don't warn about division by zero, Ceral Paquet, 2015/12/10
- [Octave-bug-tracker] [bug #46650] disable warning about division by zero by default, Mike Miller, 2015/12/10
- [Octave-bug-tracker] [bug #46650] disable warning about division by zero by default, John W. Eaton, 2015/12/10
- [Octave-bug-tracker] [bug #46650] disable warning about division by zero by default, John W. Eaton, 2015/12/10
- [Octave-bug-tracker] [bug #46650] disable warning about division by zero by default,
Ceral Paquet <=
- [Octave-bug-tracker] [bug #46650] disable warning about division by zero by default, Ceral Paquet, 2015/12/11