Fix warning in Snap_rounding_2

This commit is contained in:
Maxime Gimeno 2019-07-16 12:06:26 +02:00
parent d3d996d18e
commit 014a29bc3c
2 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,7 @@ determinant(
const RT& a10, const RT& a11)
{
// First compute the det2x2
const RT m01 = a00*a11 - a10*a01;
const RT m01 = (a00*a11 - a10*a01);
return m01;
}

View File

@ -591,7 +591,6 @@ public:
iter->first->search(std::back_inserter(result), b);
// create result
result_list.empty();
for( Point_with_hot_pixel_history_saved_iter my_point_iter = result.begin(); my_point_iter != result.end(); ++my_point_iter )
result_list.push_back(my_point_iter->object);