aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/ARGMAX.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/ARGMAX.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/ARGMAX.tosac')
-rw-r--r--pseudocode/operators/ARGMAX.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/ARGMAX.tosac b/pseudocode/operators/ARGMAX.tosac
index 73b74a0..ac7aa7a 100644
--- a/pseudocode/operators/ARGMAX.tosac
+++ b/pseudocode/operators/ARGMAX.tosac
@@ -21,7 +21,7 @@ if (axis == rank(shape1)-1) {
ERROR_IF(flatten(left_shape, right_shape) != shape);
for_each(left_index in left_shape) {
for_each(right_index in right_shape) {
- in_t max_value = minimum_s<in_t>;
+ in_t max_value = minimum_s<in_t>();
out_t max_index = 0;
for (i = 0; i < shape1[axis]; i++) {
shape_t index = flatten(left_index, [i], right_index);