Skip to content

Commit 462aaee

Browse files
authored
Fix incorrect output statement types on operation check (#292)
1 parent 3c6930d commit 462aaee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/middleware/operation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ impl Operation {
346346
(Self::ProductOf(s1, s2, s3), ProductOf(v4, v5, v6)) => {
347347
Self::check_int_fn(&val(v4, s1)?, &val(v5, s2)?, &val(v6, s3)?, prod_op)?
348348
}
349-
(Self::MaxOf(s1, s2, s3), ProductOf(v4, v5, v6)) => {
349+
(Self::MaxOf(s1, s2, s3), MaxOf(v4, v5, v6)) => {
350350
Self::check_int_fn(&val(v4, s1)?, &val(v5, s2)?, &val(v6, s3)?, max_op)?
351351
}
352-
(Self::HashOf(s1, s2, s3), ProductOf(v4, v5, v6)) => {
352+
(Self::HashOf(s1, s2, s3), HashOf(v4, v5, v6)) => {
353353
val(v4, s1)? == hash_op(val(v5, s2)?, val(v6, s3)?)
354354
}
355355
(Self::Custom(CustomPredicateRef { batch, index }, args), Custom(cpr, s_args))

0 commit comments

Comments
 (0)