bugGNU Octave - Bugs: bug #47085, automatic broadcasting with zero...

 
 

bug #47085: automatic broadcasting with zero length dimensions

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Sun 07 Feb 2016 10:43:44 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 25 Feb 2016 03:02:23 PM UTC, comment #3:

I have finally fixed this on the default branch http://hg.savannah.gnu.org/hgweb/octave/rev/12280fef2741

Carnë Draug <carandraug>
Project Member
Wed 17 Feb 2016 09:39:42 PM UTC, comment #2:

> This seems related to bug #42832 ?


Indeed, that is the same issue. The only difference is that got addressed by fixing it on findpeaks while here I'm reporting issue against the source, i.e., automatic broadcasting.

For what is worth, I came across this issue in im2col which I fixed by calling bsxfun directly http://hg.code.sf.net/p/octave/image/rev/0fc684589226

Carnë Draug <carandraug>
Project Member
Wed 17 Feb 2016 08:40:01 PM UTC, comment #1:

This seems related to bug #42832 ?

ederag <ederag>
Sun 07 Feb 2016 10:43:44 PM UTC, original submission:

I could swear this had been reported before but I can't find it. Maybe it was just mentioned on the mailing list.

Automatic broadcast fails when one of the dimensions is zero. It may sound silly but I kinda like how elegant Octave handles dimensions of length 0.

Carnë Draug <carandraug>
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 mtmiller (Updated the item)
  • -unavailable- added by ederag (Posted a comment)
  • -unavailable- added by carandraug (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Feb 2016 03:02:23 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 21 Feb 2016 10:16:36 PM UTCmtmillerCategoryNone=>Interpreter
      Operating SystemGNU/Linux=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1