Skip to content

Commit 465f02e

Browse files
committed
test fusion
1 parent b852d54 commit 465f02e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-src/epfl/test7-analysis/TestFusion.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ trait ScalaGenFatArrayLoopsFusionOpt extends ScalaGenArrayLoopsFat with ScalaGen
4949
// trait NestLambdaProg extends Arith with Functions with Print
5050
// --> from TestCodeMotion.scala
5151

52-
trait FusionProg extends LiftPrimitives with PrimitiveOps with ArrayLoops with Print {
52+
trait FusionProg extends PrimitiveOps with LiftPrimitives with ArrayLoops with Print {
5353

54-
implicit def bla(x: Rep[Int]): Rep[Double] = x.asInstanceOf[Rep[Double]]
54+
override implicit def repIntToRepDouble(x: Rep[Int]): Rep[Double] = x.asInstanceOf[Rep[Double]]
5555

5656
def test(x: Rep[Unit]) = {
5757

@@ -76,7 +76,7 @@ trait FusionProg extends LiftPrimitives with PrimitiveOps with ArrayLoops with P
7676

7777
}
7878

79-
trait FusionProg2 extends LiftPrimitives with PrimitiveOps with ArrayLoops with Print with OrderingOps {
79+
trait FusionProg2 extends PrimitiveOps with LiftPrimitives with ArrayLoops with Print with OrderingOps {
8080

8181
implicit def bla(x: Rep[Int]): Rep[Double] = x.asInstanceOf[Rep[Double]]
8282

0 commit comments

Comments
 (0)