CSBiology / FSharpAux

Auxiliary functions and data structures for the F# programming language
MIT License
23 stars 16 forks source link

[Bug] shuffle functions modify input data #7

Closed bvenn closed 5 years ago

bvenn commented 5 years ago

Description

The shuffle functions assign the shuffled values to the original input data.

affected modules:

affected functions:

Expected behavior

The input Array/Array2D/JaggedArray must not be modified.

Solution

The input data has do be copied before shuffling.

bvenn commented 5 years ago

closed by 2114a687d0b3004de7e283a15232e4383e140f94