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

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

[Octave-bug-tracker] [bug #41028] warning off shouldn't affect lastwarn


From: Felipe G. Nievinski
Subject: [Octave-bug-tracker] [bug #41028] warning off shouldn't affect lastwarn
Date: Sun, 29 Dec 2013 19:38:19 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?41028>

                 Summary: warning off shouldn't affect lastwarn
                 Project: GNU Octave
            Submitted by: fgnievinski
            Submitted on: Sun 29 Dec 2013 07:38:18 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

contrast:

        >> warning("on", "Octave:singular-matrix-div");  lastwarn("", "")
        >> ones(2)  [1;1];  [msg, id] = lastwarn ()

        warning: matrix singular to machine precision, rcond = 0
        msg = warning: matrix singular to machine precision, rcond = 0
        id = Octave:singular-matrix-div

to:

        >> warning("off", "Octave:singular-matrix-div");  lastwarn("", "")
        >> ones(2)  [1;1];  [msg, id] = lastwarn ()

        {no warning displayed}
        msg =
        id =

it should do instead:

        >> warning("off", "Octave:singular-matrix-div");  lastwarn("", "")
        >> ones(2)  [1;1];  [msg, id] = lastwarn ()

        {no warning displayed}
        msg = warning: matrix singular to machine precision, rcond = 0
        id = Octave:singular-matrix-div





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41028>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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