aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applications/inference_process/include/inference_parser.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/inference_process/include/inference_parser.hpp b/applications/inference_process/include/inference_parser.hpp
index fd7a97a..1ba8abf 100644
--- a/applications/inference_process/include/inference_parser.hpp
+++ b/applications/inference_process/include/inference_parser.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2022 Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -108,8 +108,8 @@ private:
return true;
}
- if (shape->Length() == 0) {
- printf("Warning: shape zero length.\n");
+ if (shape->size() == 0) {
+ printf("Warning: shape zero size.\n");
return true;
}