mirror of https://github.com/CGAL/cgal
Fix warning in Snap_rounding_2
This commit is contained in:
parent
d3d996d18e
commit
014a29bc3c
|
|
@ -39,7 +39,7 @@ determinant(
|
||||||
const RT& a10, const RT& a11)
|
const RT& a10, const RT& a11)
|
||||||
{
|
{
|
||||||
// First compute the det2x2
|
// First compute the det2x2
|
||||||
const RT m01 = a00*a11 - a10*a01;
|
const RT m01 = (a00*a11 - a10*a01);
|
||||||
return m01;
|
return m01;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -591,7 +591,6 @@ public:
|
||||||
iter->first->search(std::back_inserter(result), b);
|
iter->first->search(std::back_inserter(result), b);
|
||||||
|
|
||||||
// create result
|
// 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 )
|
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);
|
result_list.push_back(my_point_iter->object);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue