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

 
 

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

Submitter:  jkirby <jkirby>
Submitted:  Fri 03 Dec 2010 09:33:19 PM UTC
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  jkirby Open/Closed:  * Closed
Release:  * 3.3.53 Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Tue 07 Dec 2010 06:25:25 PM UTC, comment #3: 
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jkirby (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-07 jwe StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2010-12-06 rik5 StatusNone Confirmed

    Back to the top


    Powered by Savane 3.9