aboutsummaryrefslogtreecommitdiff
path: root/src/core/ITensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ITensor.cpp')
-rw-r--r--src/core/ITensor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ITensor.cpp b/src/core/ITensor.cpp
index 31359c60fe..e6c80e8879 100644
--- a/src/core/ITensor.cpp
+++ b/src/core/ITensor.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 ARM Limited.
+ * Copyright (c) 2016-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -71,7 +71,7 @@ void ITensor::copy_from(const ITensor &src)
src_it, dst_it);
}
-#ifdef ARM_COMPUTE_DEBUG_ENABLED
+#ifdef ARM_COMPUTE_ASSERTS_ENABLED
void ITensor::print(std::ostream &s, IOFormatInfo io_fmt) const
{
ARM_COMPUTE_ERROR_ON(this->buffer() == nullptr);
@@ -152,7 +152,7 @@ void ITensor::print(std::ostream &s, IOFormatInfo io_fmt) const
}
}
}
-#endif /* ARM_COMPUTE_DEBUG_ENABLED */
+#endif /* ARM_COMPUTE_ASSERTS_ENABLED */
bool ITensor::is_used() const
{