aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/INTDIV.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/INTDIV.tosac')
-rw-r--r--pseudocode/operators/INTDIV.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/INTDIV.tosac b/pseudocode/operators/INTDIV.tosac
index bf3126b..a6774fa 100644
--- a/pseudocode/operators/INTDIV.tosac
+++ b/pseudocode/operators/INTDIV.tosac
@@ -16,7 +16,7 @@ for_each(index in shape) {
REQUIRE(value2 != 0);
// This catches the case where we divide minimum<in_out_t> by -1
// which is not representable in two's complement
- REQUIRE(static_cast<int64_t>(value1) / static_cast<int64_t>(value2) <= maximum_s<in_out_t>);
+ REQUIRE(static_cast<int64_t>(value1) / static_cast<int64_t>(value2) <= maximum_s<in_out_t>());
in_out_t result = apply_intdiv_s<in_out_t>(value1, value2);
tensor_write<in_out_t>(output, shape, index, result);
}