mirror of https://github.com/CGAL/cgal
fix maybe uninitialized warning
triggered by target Orthogonal_incremental_neighbor_search
This commit is contained in:
parent
cf0909ef51
commit
5a2857d451
|
|
@ -166,6 +166,7 @@ namespace CGAL {
|
||||||
inline FT
|
inline FT
|
||||||
min_coord(int i) const
|
min_coord(int i) const
|
||||||
{
|
{
|
||||||
|
CGAL_assume(i<D::value);
|
||||||
CGAL_assertion(lower_.size() != 0);
|
CGAL_assertion(lower_.size() != 0);
|
||||||
return lower_[i];
|
return lower_[i];
|
||||||
}
|
}
|
||||||
|
|
@ -173,6 +174,7 @@ namespace CGAL {
|
||||||
inline FT
|
inline FT
|
||||||
max_coord(int i) const
|
max_coord(int i) const
|
||||||
{
|
{
|
||||||
|
CGAL_assume(i<D::value);
|
||||||
return upper_[i];
|
return upper_[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue