Commit 389bd146 authored by Alexander Shishkov's avatar Alexander Shishkov

fixed compilation problems with new SIFT on MacOs

parent b1943451
...@@ -1561,7 +1561,7 @@ static void fillFeatureData( feature& feat, const SiftParams& params ) ...@@ -1561,7 +1561,7 @@ static void fillFeatureData( feature& feat, const SiftParams& params )
ddata->intvl = is + 1; ddata->intvl = is + 1;
ddata->subintvl = s - is; ddata->subintvl = s - is;
ddata->scl_octv = params.sigma0 * pow(2.0, s / params.S); ddata->scl_octv = params.sigma0 * pow(2.0, static_cast<double>(s / params.S));
} }
inline void keyPointToFeature( const KeyPoint& keypoint, feature& feat, const SiftParams& params ) inline void keyPointToFeature( const KeyPoint& keypoint, feature& feat, const SiftParams& params )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment