Repository: mahout
Updated Branches:
  refs/heads/master 28c1d20e2 -> 3b36ba282


Typo in readme


Project: http://git-wip-us.apache.org/repos/asf/mahout/repo
Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/3b36ba28
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/3b36ba28
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/3b36ba28

Branch: refs/heads/master
Commit: 3b36ba28288ab08900fad23bfdf8a55057f63658
Parents: 28c1d20
Author: Andrew Musselman <[email protected]>
Authored: Mon Mar 27 09:52:51 2017 -0700
Committer: Andrew Musselman <[email protected]>
Committed: Mon Mar 27 09:52:51 2017 -0700

----------------------------------------------------------------------
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/3b36ba28/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 61407eb..0c7ca5d 100644
--- a/README.md
+++ b/README.md
@@ -223,7 +223,7 @@ def timeSparseDRMMMul(m: Int, n: Int, s: Int, para: Int, 
pctDense: Double = .20,
            val R =  scala.util.Random
            R.setSeed(seed + 1)
            val blockB = new SparseRowMatrix(block.nrow, block.ncol)
-           blockB := {x => if (R.nextDouble > pctDense) R.nextDouble else x }
+           blockB := {x => if (R.nextDouble < pctDense) R.nextDouble else x }
        (keys -> blockB)
   }
 

Reply via email to