[Top][All Lists]

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

[Octave-bug-tracker] [bug #56632] polyval should return with invalid inp

From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #56632] polyval should return with invalid input
Date: Mon, 15 Jul 2019 09:16:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0


                 Summary: polyval should return with invalid input
                 Project: GNU Octave
            Submitted by: caliari
            Submitted on: Mon 15 Jul 2019 01:16:42 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



The following code should return with an error

polyval (@(x) sin(x), 1)

but it passes. Probably the check

elseif (! isvector (p))

should be substituted with

elsif ((! isvector) || (isvector (p) && ! isnumeric (p)))


Reply to this item at:


  Message sent via Savannah

reply via email to

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