bugGNU Octave - Bugs: bug #31775, repmat regression from 3.2.4...

 
 

bug #31775: repmat regression from 3.2.4 (reshape problem???)

Submitted by:  jkirby <jkirby>
Submitted on:  Fri 03 Dec 2010 09:33:19 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: jkirbyOpen/Closed: Closed
Release: 3.3.53Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 07 Dec 2010 06:25:25 PM UTC, comment #3:

I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/d7ea780b036f

John W. Eaton <jwe>
Project Administrator
Mon 06 Dec 2010 06:27:41 PM UTC, comment #2:

Confirmed as working under 3.2.4 and not working at tip (11313:988d2bd6bacd). This was on a Linux, x86_64 machine so it is not a MS Windows build issue.

Rik <rik5>
Project Administrator
Fri 03 Dec 2010 09:39:25 PM UTC, comment #1:

In case it helps, what happens under the latest sources is the following error:

error: reshape: can't reshape 1x1 array to 1x0 array
error: called from:
error: C:\tmp\vs2008_test\oct_test\octave-3.3.54+\share\octave\3.3.54+\m\general\repmat.m at line 65, column 7

jkirby <jkirby>
Fri 03 Dec 2010 09:33:19 PM UTC, original submission:

Considering repmat hasn't functionally changed between these versions, I'm guessing reshape is to blame.

The following doesn't work under the latest dev sources:

s = repmat(struct('description', [], 'd', []), [1 0]);

under Matlab and 3.2.4, it works with s being reported as:

s =
{
1x0 struct array containing the fields:

description
d
}

jkirby <jkirby>

 

(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 jwe (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jkirby (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
    Tue 07 Dec 2010 06:25:25 PM UTCjweStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon 06 Dec 2010 06:27:41 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1