std.random.uniform failing

remontoir marc.p.michel at gmail.com
Tue Sep 3 12:37:21 UTC 2024


On Tuesday, 3 September 2024 at 12:09:36 UTC, monkyyy wrote:

> I think your wrong about what remove does, 
> `axes=axes.remove(axis.length.uniform)`

Duh !
You're right, remove does take indices or ranges.
Using filter, now ;)
`axes.filter!(a => a != axis).array`

thanks.



More information about the Digitalmars-d-learn mailing list