Skip to content

Commit

Permalink
Fix upstream #16 (isnan not defined)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rasmus Diederichsen committed Dec 12, 2017
1 parent 32a05d3 commit 97b6943
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <cmath>

#include "opencv2/opencv.hpp"
#include <pcl/point_cloud.h>
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 97b6943

Please sign in to comment.