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

9il ilyayaroshenko at gmail.com
Sun May 24 15:01:06 UTC 2020


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.
>
> [...]

`sliced` returns a view on the array data, a 1-dimensional slice 
composed of common D arrays. Try to use `fuse` instead of 
`sliced`.


More information about the Digitalmars-d-learn mailing list