Skip to content

Commit c7834ec

Browse files
committed
workaround: comment out lines to compile
1 parent 9f3722b commit c7834ec

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

algebird-core/src/main/scala-3/com/twitter/algebird/AdaptiveVector.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ sealed trait AdaptiveVector[V] extends IndexedSeq[V] {
176176

177177
/** How many items are not sparse */
178178
def denseCount: Int
179-
def size: Int
179+
// def size: Int
180180
override def apply(idx: Int): V
181181
def updated(idx: Int, v: V): AdaptiveVector[V]
182182

algebird-core/src/main/scala-3/com/twitter/algebird/compat.scala

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ private[algebird] trait CompatFold {
3131
private[algebird] trait CompatDecayedVector {
3232
// This is the default monoid that never thresholds.
3333
// If you want to set a specific accuracy you need to implicitly override this
34-
implicit def monoid[F, C[_]](implicit vs: VectorSpace[F, C], metric: Metric[C[F]]):Monoid[DecayedVector[C]] =
35-
DecayedVector.monoidWithEpsilon(-1.0)
34+
// implicit def monoid[F, C[_]](implicit vs: VectorSpace[F, C], metric: Metric[C[F]]):Monoid[DecayedVector[C]] =
35+
// DecayedVector.monoidWithEpsilon(-1.0)
3636
}
37+

0 commit comments

Comments
 (0)