bugGNU Octave - Bugs: bug #43670, Vertical concetanation of...

 
 

bug #43670: Vertical concetanation of arguments bug in __patch__.m

Submitted by:  None
Submitted on:  Sat 22 Nov 2014 06:48:54 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: AntonioOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 23 Nov 2014 05:08:11 AM UTC, comment #3:

Thanks. I made the change on the stable branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/2da8f0c6e8a3). It will be a part of the 3.8.3 bug fix release, if there is one. More likely the next release will be 4.0 with the GUI and it will show up there. For the time being, you can just patch your local copy of _patch_.m.

Again, thanks for noticing this. Closing report.

Rik <rik5>
Project Administrator
Sun 23 Nov 2014 01:47:26 AM UTC, comment #2:

Sorry for not originally posting a minimal working example. I figured it was straightforward enough to not need explanation.

Any call using a struct tickles the bug.

E.g.

I'm surprised it hasn't been discovered earlier. It's still in the dev version (4.1.0+)

Anonymous
Sat 22 Nov 2014 06:56:32 PM UTC, comment #1:

Could you provide sample code that reproduces the error so that we can verify that there is a problem, and that the proposed solution fixes it?

I suspect that this is the right thing to do because further down in the input checking code we have

where the concatenation is clearly into a row vector.

Rik <rik5>
Project Administrator
Sat 22 Nov 2014 06:48:54 AM UTC, original submission:

In _patch_.m, arguments, "args", should be horizontally concatenated instead of vertically. Failing to do so leads a dimension mis-match error.

_patch_.m, line 52

instead of :

Anonymous

 

(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 rik5 (Posted a comment)
  • -unavailable- added by None (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
    Sun 23 Nov 2014 05:08:11 AM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Sat 22 Nov 2014 06:56:32 PM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1