[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50854] zeros, ones, NaN, Inf, NA: "like" keyw
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #50854] zeros, ones, NaN, Inf, NA: "like" keyword |
Date: |
Thu, 28 May 2020 13:41:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0 |
Update of bug #50854 (project octave):
Status: Confirmed => In Progress
_______________________________________________________
Follow-up Comment #19:
@Guillaume: Thanks for your patch for the "cast" function.
I think there should be more input validation. E.g. this is probably not the
expected result:
>> cast(3, 'like', cell(1))
ans =
{
[1,1] = [](0x0)
[2,1] = [](0x0)
[3,1] = [](0x0)
[1,2] = [](0x0)
[2,2] = [](0x0)
[3,2] = [](0x0)
[1,3] = [](0x0)
[2,3] = [](0x0)
[3,3] = [](0x0)
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50854>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50854] zeros, ones, NaN, Inf, NA: "like" keyword, Guillaume, 2020/05/20
- [Octave-bug-tracker] [bug #50854] zeros, ones, NaN, Inf, NA: "like" keyword,
Markus Mützel <=