octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43650] reshape says "internal error: dimensio


From: anonymous
Subject: [Octave-bug-tracker] [bug #43650] reshape says "internal error: dimension mismatch across fields in struct"
Date: Thu, 20 Nov 2014 17:54:02 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?43650>

                 Summary: reshape says "internal error: dimension mismatch
across fields in struct"
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 20 Nov 2014 05:54:01 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: ziser
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When I call reshape() on a struct with a size vector of three elements, I get
this cryptic error message.  This does not happen with a size vector of two
elements.  Here is an example:


[11:27:53] octave:1> a.hi=0
a =

  scalar structure containing the fields:

    hi = 0

[11:27:56] octave:2> reshape(a,[1 1])
ans =

  scalar structure containing the fields:

    hi = 0

[11:28:08] octave:3> reshape(a,[1 1 1])
error: internal error: dimension mismatch across fields in struct


This also happens in Octave 3.6.1, so I guess it's been there a while.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43650>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]