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

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

[Octave-bug-tracker] [bug #51448] cell2mat doesn't preserve dimensions o


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #51448] cell2mat doesn't preserve dimensions of empty input
Date: Wed, 12 Jul 2017 03:03:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: cell2mat doesn't preserve dimensions of empty input
                 Project: GNU Octave
            Submitted by: i7tiol
            Submitted on: Wed 12 Jul 2017 07:03:10 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Olaf Till
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Any

    _______________________________________________________

Details:

(Probably affects development branch also.)

'cell2mat' doesn't preserve dimensions of empty input, e.g.

cell2mat (cell (2, 0))

should return

ans = [](2x0)

but currently returns

ans = [](0x0)


Patch follows as soon as I know the bug number.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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