aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/INTDIV.tosac
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2024-02-08 10:29:43 +0000
committerKevin Petit <kevin.petit@arm.com>2024-02-08 10:29:43 +0000
commit599de076047aae846fd28cc52a777e4b6e534aaf (patch)
treeb8eab10e9cab319d9023b141480e2cd82486c0af /pseudocode/operators/INTDIV.tosac
parentc65cd9ccff6000be01ee0742319009f0061879ce (diff)
downloadspecification-599de076047aae846fd28cc52a777e4b6e534aaf.tar.gz
pseudocode: use function call syntax to call templated functions
Change-Id: I24409a38aaf4818a9ab0abc0cad5c7d052e01bd1 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
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);
}