Skip to content

Commit

Permalink
using std::isnan instead of isnanf
Browse files Browse the repository at this point in the history
  • Loading branch information
cfo committed Jun 30, 2014
1 parent c34df8f commit b4696fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svo/src/depth_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ void DepthFilter::getSeedsCopy(const FramePtr& frame, std::list<Seed>& seeds)
void DepthFilter::updateSeed(const float x, const float tau2, Seed* seed)
{
float norm_scale = sqrt(seed->sigma2 + tau2);
if(isnanf(norm_scale))
if(std::isnan(norm_scale))
return;
boost::math::normal_distribution<float> nd(seed->mu, norm_scale);
float s2 = 1./(1./seed->sigma2 + 1./tau2);
Expand Down

0 comments on commit b4696fd

Please sign in to comment.