diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ITensor.cpp | 6 | ||||
-rw-r--r-- | src/core/Utils.cpp | 6 |
2 files changed, 6 insertions, 6 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 { diff --git a/src/core/Utils.cpp b/src/core/Utils.cpp index 7223368a7e..2df5f81c61 100644 --- a/src/core/Utils.cpp +++ b/src/core/Utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017, 2018 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -395,7 +395,7 @@ const std::pair<unsigned int, unsigned int> arm_compute::scaled_dimensions(unsig return std::make_pair(w, h); } -#ifdef ARM_COMPUTE_DEBUG_ENABLED +#ifdef ARM_COMPUTE_ASSERTS_ENABLED void arm_compute::print_consecutive_elements(std::ostream &s, DataType dt, const uint8_t *ptr, unsigned int n, int stream_width, const std::string &element_delim) { switch(dt) @@ -456,4 +456,4 @@ int arm_compute::max_consecutive_elements_display_width(std::ostream &s, DataTyp } return 0; } -#endif /* ARM_COMPUTE_DEBUG_ENABLED */ +#endif /* ARM_COMPUTE_ASSERTS_ENABLED */ |