Skip to content

Commit

Permalink
Fix OSX 10.10.3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
tribal-tec committed Apr 21, 2015
1 parent 5314494 commit fd29e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compressor/image.cpp
Expand Up @@ -79,7 +79,7 @@ static void _compare( const void* data, const void* destData,
continue;
}

error += ::abs( double( value[k] ) - double( destValue[k] ));
error += ::fabs( double( value[k] ) - double( destValue[k] ));
}

const double max = ( 1.f - quality ) * std::numeric_limits< T >::max() *
Expand Down

0 comments on commit fd29e23

Please sign in to comment.