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

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

[Octave-bug-tracker] [bug #47986] bitset - incorrect error checking


From: anonymous
Subject: [Octave-bug-tracker] [bug #47986] bitset - incorrect error checking
Date: Mon, 23 May 2016 08:35:25 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0

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

                 Summary: bitset - incorrect error checking
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 23 May 2016 08:35:22 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Following error check 

    if (! size_equal (A, n))
      error ("bitset: N must be scalar or the same size as A");
    endif

should rather be:

    if (! size_equal (v, n))

Regards, 
Alek





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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