Skip to content

Commit

Permalink
workaround: comment out lines to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
i10416 committed Apr 7, 2023
1 parent 9f3722b commit c7834ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ sealed trait AdaptiveVector[V] extends IndexedSeq[V] {

/** How many items are not sparse */
def denseCount: Int
def size: Int
// def size: Int
override def apply(idx: Int): V
def updated(idx: Int, v: V): AdaptiveVector[V]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ private[algebird] trait CompatFold {
private[algebird] trait CompatDecayedVector {
// This is the default monoid that never thresholds.
// If you want to set a specific accuracy you need to implicitly override this
implicit def monoid[F, C[_]](implicit vs: VectorSpace[F, C], metric: Metric[C[F]]):Monoid[DecayedVector[C]] =
DecayedVector.monoidWithEpsilon(-1.0)
// implicit def monoid[F, C[_]](implicit vs: VectorSpace[F, C], metric: Metric[C[F]]):Monoid[DecayedVector[C]] =
// DecayedVector.monoidWithEpsilon(-1.0)
}

0 comments on commit c7834ec

Please sign in to comment.