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

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

[Octave-bug-tracker] [bug #63682] mat2cell returns incorrect value when


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63682] mat2cell returns incorrect value when only one output dimensions is specified and input is N-D array
Date: Sun, 19 Feb 2023 11:39:19 -0500 (EST)

Update of bug #63682 (project octave):

                  Status:          Ready For Test => In Progress            

    _______________________________________________________

Follow-up Comment #15:

`test cell2mat` is failing now:

octave:1> test cell2mat
***** test
 m = int8 (256*rand (4, 5, 6, 7, 8));
 c = mat2cell (m, [1 2 1], [1 2 2], [3 1 1 1], [4 1 2], [3 1 4]);
 assert (cell2mat (c), m);
!!!!! test failed
cell2mat: wrong type elements or mixed cells, structs, and matrices


I give up.

Since it is no longer crashing for me, I won't revert the changes like I
initially planned. But I hope someone else who understands that part of the
code better will be able to fix this properly. I already had my attempt with
hg id 8c57434587c...


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63682>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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