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

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

[Octave-bug-tracker] [bug #47794] Built-in function ndims() fails on 3D


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47794] Built-in function ndims() fails on 3D array
Date: Thu, 28 Apr 2016 00:22:23 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #2, bug #47794 (project octave):

This also works for me with 4.0.0 on Linux.

Barthie, are you sure that the code for reproduction is right?  The subject
line talks about a 3D array, but the code produces a 2D array.  Since your
comment spoke of a singleton dimension, I also tried a = reshape (a, [1 2 2])
and a = reshape (a, [2 1 2]), but both of those gave  ndims(a) = 3, as
expected.

Please try again to find some code that reproduces the bug.  Otherwise, this
will be closed as "works for me".

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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