Mir Slice.shape is not consistent with the actual array shape

Pavel Shkadzko p.shkadzko at gmail.com
Sun May 24 14:54:20 UTC 2020


On Sunday, 24 May 2020 at 14:21:26 UTC, Pavel Shkadzko wrote:
> On Sunday, 24 May 2020 at 14:17:33 UTC, Pavel Shkadzko wrote:
>> I am confused by the return value of Mir shape.
>> Consider the following example.
>>
>> [...]
>
> Sorry for the typo. It should be "auto arrSlice = a.sliced;"

And another typo "writeln(arr.getShape);", too rushy.


More information about the Digitalmars-d-learn mailing list