From 97b6943564920cbcfda0b143463e957c066c867a Mon Sep 17 00:00:00 2001 From: Rasmus Diederichsen Date: Tue, 12 Dec 2017 18:03:50 +0100 Subject: [PATCH] Fix upstream #16 (isnan not defined) --- .../include/but_calibration_camera_velodyne/Calibration.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/but_calibration_camera_velodyne/include/but_calibration_camera_velodyne/Calibration.h b/but_calibration_camera_velodyne/include/but_calibration_camera_velodyne/Calibration.h index 519e48e..f38e059 100644 --- a/but_calibration_camera_velodyne/include/but_calibration_camera_velodyne/Calibration.h +++ b/but_calibration_camera_velodyne/include/but_calibration_camera_velodyne/Calibration.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "opencv2/opencv.hpp" #include @@ -50,7 +51,7 @@ class Calibration6DoF bool isGood() { - return !isnan(value); + return !std::isnan(value); } void set(float x, float y, float z, float x_r, float y_r, float z_r, float val)