Permalink
Browse files

Corrected order of CountMinSketchMonoid arguments

  • Loading branch information...
1 parent 2be2295 commit b5e60c3253748cf87a76c713ae3388dce1b03107 @erikvanoosten erikvanoosten committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/src/main/scala/spark/streaming/examples/TwitterAlgebirdCMS.scala
@@ -49,7 +49,7 @@ object TwitterAlgebirdCMS {
val users = stream.map(status => status.getUser.getId)
- val cms = new CountMinSketchMonoid(DELTA, EPS, SEED, PERC)
+ val cms = new CountMinSketchMonoid(EPS, DELTA, SEED, PERC)
var globalCMS = cms.zero
val mm = new MapMonoid[Long, Int]()
var globalExact = Map[Long, Int]()

0 comments on commit b5e60c3

Please sign in to comment.