bugGNU Octave - Bugs: bug #47934, polyval returns wrong empty...

 
 

bug #47934: polyval returns wrong empty dimensions for empty input

Submitted by:  Marco Caliari <caliari>
Submitted on:  Mon 16 May 2016 11:03:55 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 20 May 2016 06:39:03 PM UTC, comment #2:

I pushed the cset here (http://hg.savannah.gnu.org/hgweb/octave/rev/08e861873118). Thanks Marco and Lachlan.

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Tue 17 May 2016 03:10:19 AM UTC, comment #1:

I can confirm that Matlab gives

and the supplied fix looks right. Marco, could you please put the bug number in the summary line of the cset?

Lachlan Andrew <lachlan>
Project Member
Mon 16 May 2016 11:03:55 AM UTC, original submission:

Hi,

I think

should returns zeros(0,1) and not []. I enclose a changeset.

Marco Caliari <caliari>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #37184:  polyval.cset added by caliari (947B - application/x-tex)
file #37177:  polyval.cset added by caliari (934B - application/x-tex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by caliari (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 May 2016 06:39:20 PM UTCrik5Open/ClosedOpen=>Closed
    Fri 20 May 2016 06:39:03 PM UTCrik5StatusPatch Submitted=>Fixed
    Tue 17 May 2016 06:44:03 AM UTCcaliariAttached File-=>Added polyval.cset, #37184
    Mon 16 May 2016 03:04:39 PM UTCmtmillerStatusNone=>Patch Submitted
    Mon 16 May 2016 11:03:55 AM UTCcaliariAttached File-=>Added polyval.cset, #37177

    Back to the top


    Powered by Savane 3.1-cleanup1