aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/ABS.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/ABS.tosac')
-rw-r--r--pseudocode/operators/ABS.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/ABS.tosac b/pseudocode/operators/ABS.tosac
index 5f7f56e..94f439c 100644
--- a/pseudocode/operators/ABS.tosac
+++ b/pseudocode/operators/ABS.tosac
@@ -9,7 +9,7 @@
for_each(index in shape) {
in_out_t value1 = tensor_read<in_out_t>(input1, shape, index);
- if (is_floating_point(in_out_t) && value1 == -0.0) {
+ if (is_floating_point<in_out_t>() && value1 == -0.0) {
value1 = 0.0;
}
if (static_cast<int32_t>(value1) < 0.0) {