Skip to content

Commit bdf9b81

Browse files
committed
Fix test again
1 parent 3e2ab41 commit bdf9b81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/run-staging/shonan-hmm-simple.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ class RingPV[U: Liftable](u: Ring[U], eu: Ring[Expr[U]])(given QuoteContext) ext
7070
case class Complex[T](re: T, im: T)
7171

7272
object Complex
73-
implicit def isLiftable[T: Type: Liftable]: Liftable[Complex[T]] = new Liftable[Complex[T]]
74-
def toExpr(comp: Complex[T]) = '{Complex(${comp.re}, ${comp.im})}
73+
implicit def isLiftable[T: Type: Liftable]: Liftable[Complex[T]] = new Liftable[Complex[T]] {
74+
def toExpr(comp: Complex[T]) = '{Complex(${comp.re}, ${comp.im})}
75+
}
7576

7677
case class Vec[Idx, T](size: Idx, get: Idx => T) {
7778
def map[U](f: T => U): Vec[Idx, U] = Vec(size, i => f(get(i)))

0 commit comments

Comments
 (0)