Skip to content

Commit

Permalink
Mention that this is probably fixed as of jblas 1.2.4; repunctuate.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmyklebu committed Apr 18, 2014
1 parent a09904f commit 2784fc5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,11 @@ class ALS private (

/**
* Wrap a double array in a DoubleMatrix without creating garbage.
* This is a temporary fix for jblas 1.2.3; it should be safe to move back to the
* DoubleMatrix(double[]) constructor come jblas 1.2.4.
*/
private def wrapDoubleArray(v: Array[Double]): DoubleMatrix = {
new DoubleMatrix(v.length, 1, v:_*)
new DoubleMatrix(v.length, 1, v: _*)
}

/**
Expand Down

0 comments on commit 2784fc5

Please sign in to comment.