From edc21e44313edea693700a6bdfa353edcfbe25be Mon Sep 17 00:00:00 2001 From: giuros01 Date: Fri, 16 Nov 2018 14:45:31 +0000 Subject: COMPMID-1912: Print functions should be enabled in assert mode Change-Id: Ic7c4b703bd5de73275ae6352a787969e6de55520 Reviewed-on: https://review.mlplatform.org/600 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou --- arm_compute/core/Utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arm_compute/core/Utils.h') diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h index 44974f1ecc..816999db51 100644 --- a/arm_compute/core/Utils.h +++ b/arm_compute/core/Utils.h @@ -1104,7 +1104,7 @@ bool check_value_range(T val, DataType dt, QuantizationInfo quant_info = Quantiz } } -#ifdef ARM_COMPUTE_DEBUG_ENABLED +#ifdef ARM_COMPUTE_ASSERTS_ENABLED /** Print consecutive elements to an output stream. * * @param[out] s Output stream to print the elements to. @@ -1193,6 +1193,6 @@ void print_consecutive_elements(std::ostream &s, DataType dt, const uint8_t *ptr * @return The maximum width of the elements. */ int max_consecutive_elements_display_width(std::ostream &s, DataType dt, const uint8_t *ptr, unsigned int n); -#endif /* ARM_COMPUTE_DEBUG_ENABLED */ +#endif /* ARM_COMPUTE_ASSERTS_ENABLED */ } #endif /*__ARM_COMPUTE_UTILS_H__ */ -- cgit v1.2.1