From 21aad77c9ca07f4271136b9241f5adb00a6bb908 Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Tue, 7 Feb 2017 16:37:25 -0800 Subject: utils: introduce new logging API and remove msg API --- host/lib/cal/interpolation.ipp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib/cal') diff --git a/host/lib/cal/interpolation.ipp b/host/lib/cal/interpolation.ipp index f58b70b68..1544b041c 100644 --- a/host/lib/cal/interpolation.ipp +++ b/host/lib/cal/interpolation.ipp @@ -19,7 +19,7 @@ #define INCLUDED_UHD_INTERPOLATION_IPP #include "interpolation.hpp" -#include +#include #include #include #include @@ -175,9 +175,9 @@ CAL_INTERP_METHOD(const out_type, bl_interp, CONTAINER_T &data, const ARGS_T &ar // Fall back to 1D interpolation if the matrix is singular if (is_singular) { // Warn the user that the A matrix is singular - UHD_MSG(warning) << "Bilinear interpolation: singular matrix detected." << std::endl - << "Performing 1D linear interpolation against the nearest measurements." << std::endl - << "Provide calibration data with more measurements" << std::endl; + UHD_LOGGER_WARNING("CAL") << "Bilinear interpolation: singular matrix detected. " + << "Performing 1D linear interpolation against the nearest measurements. " + << "Provide calibration data with more measurements"; output = (b[7] - b[6]) / 2.0; output += b[6]; -- cgit v1.2.3