Skip to content

Commit

Permalink
Fix the caliper build target
Browse files Browse the repository at this point in the history
  • Loading branch information
ianoc committed Mar 31, 2015
1 parent f7f3f99 commit f78e7af
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import com.twitter.bijection._
import java.util.concurrent.Executors
import com.twitter.algebird.util._
import com.google.caliper.{ Param, SimpleBenchmark }
import com.twitter.algebird.{ HyperLogLogMonoid, ReadOnlyBoxedArrayByte }
import java.nio.ByteBuffer

import scala.math._
Expand All @@ -19,7 +18,7 @@ class OldMonoid(bits: Int) extends HyperLogLogMonoid(bits) {
else {
val buffer = new Array[Byte](size)
items.foreach { _.updateInto(buffer) }
Some(DenseHLL(bits, ReadOnlyBoxedArrayByte(buffer)))
Some(DenseHLL(bits, Bytes(buffer)))
}
}

Expand Down

0 comments on commit f78e7af

Please sign in to comment.