Skip to content

Commit

Permalink
silence warning about comparing doubles
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Sep 22, 2011
1 parent e6af71c commit 432aae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/AppSupport.cpp
Expand Up @@ -166,7 +166,7 @@ void PercentageCallback::callback()

double currPerc = getPercentComplete();

if (currPerc == 100.0)
if (pdal::Utils::compare_distance<double>(currPerc, 100.0))
{
std::cout << "100\n";
m_done = true;
Expand Down

0 comments on commit 432aae6

Please sign in to comment.