bugGNU Octave - Bugs: bug #51411, parcellfun shows misleading error...

 
 

bug #51411: parcellfun shows misleading error for empty input

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Fri 07 Jul 2017 09:35:11 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Missed Error or Warning
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 17 Jul 2017 04:01:17 AM UTC, comment #2:

Great, thank you Olaf.

Closing as fixed.

Andreas Weber <andy1978>
Project Member
Wed 12 Jul 2017 07:45:05 AM UTC, comment #1:

Thanks for reporting. Indeed it should return output with the same dimensions as the input even for empty input. Fixed with changeset 3dcde56d926b:

https://sourceforge.net/p/octave/parallel/ci/3dcde56d926b351210e42e223b01d59c8135152c/

Olaf Till <i7tiol>
Project Member
Fri 07 Jul 2017 09:35:11 AM UTC, original submission:

parallel 3.1.1

If parcellfun is called with empty arguments it shows

which is misleading. I think it should show an error indicating that the input set is empty or IMHO even better: just return an empty matrix/cell array

Andreas Weber <andy1978>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by i7tiol (Posted a comment)
  • -unavailable- added by andy1978 (Adding package maintainer to CC)
  • -unavailable- added by andy1978 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Jul 2017 04:01:17 AM UTCandy1978StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 07 Jul 2017 09:37:40 AM UTCandy1978Carbon-Copy-=>Added i7tiol

    Back to the top


    Powered by Savane 3.1-cleanup1