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: Rik
Subject: [Octave-bug-tracker] [bug #63682] mat2cell returns incorrect value when only one output dimensions is specified and input is N-D array
Date: Wed, 1 Feb 2023 12:51:09 -0500 (EST)

Update of bug #63682 (project octave):

                  Status:                   Fixed => Patch Submitted        
             Open/Closed:                  Closed => Open                   
                 Summary: mat2cell returns incorrect vale for ndims>2 =>
mat2cell returns incorrect value when only one output dimensions is specified
and input is N-D array

    _______________________________________________________

Follow-up Comment #5:

Re-opening report as I think this issue has a simpler fix.  Rather than
changing Fmat2cell so that all trailing dimensions are specified before
calling mat2cell(), it is enough to fix one line in do_mat2cell() which
incorrectly allowed a dimension vector with zero columns to be created.  Patch
is attached for that.  I also re-titled the bug report to what I believe is
the true issue.

In order to test, use 'hg backout 8c57434587c9' and then apply the patch from
this report.  If this patch works then the documentation changes and BIST test
from the original changeset can be incorporated into this patch.

(file #54293)

    _______________________________________________________

Additional Item Attachment:

File name: patch.63682                    Size:0 KB
    <https://file.savannah.gnu.org/file/patch.63682?file_id=54293>



    _______________________________________________________

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]