Skip to content

Commit 2078d57

Browse files
committed
test struct
1 parent 080e617 commit 2078d57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-src/epfl/test9-experimental/TestStruct.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ class TestStruct extends FileDiffSuite {
124124
// test variable splitting
125125
trait Prog extends DSL {
126126
def test(x: Rep[Int]) = {
127-
var c = Complex(x.toDouble, 0)
128-
c = c + Complex(0,x.toDouble)
127+
var c = Complex(x.toDouble, 0.0)
128+
c = c + Complex(0.0,x.toDouble)
129129
print(c)
130130
}
131131
}

0 commit comments

Comments
 (0)