Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
0.13.0
-
None
-
None
Description
Here aand in other places, In the ViennaCL (both modules) Unit tests, the signs are flipped when adding random data to matrices.
// add some sparse data with a 20% threshold mxA := { (_, _, v) => if (r.nextDouble() .20) r.nextDouble() else v } mxB := { (_, _, v) => if (r.nextDouble() < .20) r.nextDouble() else v }