@@ -1943,29 +1943,29 @@ object IRParser {
1943
1943
ir_value_expr(ctx)(it).map { ir_ =>
1944
1944
val ir = annotateTypes(ctx, ir_, BindingEnv .empty).asInstanceOf [IR ]
1945
1945
val Row (starts : IndexedSeq [Long @ unchecked], stops : IndexedSeq [Long @ unchecked]) =
1946
- CompileAndEvaluate (ctx, ir)
1946
+ CompileAndEvaluate [ Row ] (ctx, ir)
1947
1947
RowIntervalSparsifier (blocksOnly, starts, stops)
1948
1948
}
1949
1949
case " PyBandSparsifier" =>
1950
1950
val blocksOnly = boolean_literal(it)
1951
1951
punctuation(it, " )" )
1952
1952
ir_value_expr(ctx)(it).map { ir_ =>
1953
1953
val ir = annotateTypes(ctx, ir_, BindingEnv .empty).asInstanceOf [IR ]
1954
- val Row (l : Long , u : Long ) = CompileAndEvaluate (ctx, ir)
1954
+ val Row (l : Long , u : Long ) = CompileAndEvaluate [ Row ] (ctx, ir)
1955
1955
BandSparsifier (blocksOnly, l, u)
1956
1956
}
1957
1957
case " PyPerBlockSparsifier" =>
1958
1958
punctuation(it, " )" )
1959
1959
ir_value_expr(ctx)(it).map { ir_ =>
1960
1960
val ir = annotateTypes(ctx, ir_, BindingEnv .empty).asInstanceOf [IR ]
1961
- val indices : IndexedSeq [Int ] = CompileAndEvaluate (ctx, ir)
1961
+ val indices = CompileAndEvaluate [ IndexedSeq [Int ]] (ctx, ir)
1962
1962
PerBlockSparsifier (indices)
1963
1963
}
1964
1964
case " PyRectangleSparsifier" =>
1965
1965
punctuation(it, " )" )
1966
1966
ir_value_expr(ctx)(it).map { ir_ =>
1967
1967
val ir = annotateTypes(ctx, ir_, BindingEnv .empty).asInstanceOf [IR ]
1968
- val rectangles : IndexedSeq [Long ] = CompileAndEvaluate (ctx, ir)
1968
+ val rectangles = CompileAndEvaluate [ IndexedSeq [Long ]] (ctx, ir)
1969
1969
RectangleSparsifier (rectangles.grouped(4 ).toIndexedSeq)
1970
1970
}
1971
1971
case " RowIntervalSparsifier" =>
0 commit comments