Fix warnings

This commit is contained in:
Clement Jamin 2015-06-22 11:15:11 +02:00
parent 1335a1eaf7
commit b6e3c417aa
2 changed files with 4 additions and 4 deletions

View File

@ -324,7 +324,7 @@ namespace CGAL {
if (zLowYSplit != size_t_max) {
if (zLowYLowXSplit != size_t_max) {
if ((int)cell->first <= zLowYLowXSplit) {
if (cell->first <= zLowYLowXSplit) {
//---
cell->child[7] = new Cell(cell->first,
zLowYLowXSplit,
@ -429,8 +429,8 @@ namespace CGAL {
}
else zHighYHighXSplit = zHighYSplit;
if (zHighYHighXSplit <= (int)cell->last || zHighYHighXSplit == size_t_max) {
if (zHighYHighXSplit < (int)cell->last || zHighYHighXSplit == size_t_max) {
if (zHighYHighXSplit <= cell->last || zHighYHighXSplit == size_t_max) {
if (zHighYHighXSplit < cell->last || zHighYHighXSplit == size_t_max) {
//+++
cell->child[0] = new Cell(zHighYHighXSplit + 1,
cell->last,

View File

@ -179,7 +179,7 @@ namespace CGAL {
}
}
FT cos_to_normal(const Point_3 &p, const Vector_3 &n) const{
FT cos_to_normal(const Point_3 &, const Vector_3 &n) const{
return CGAL::abs(n * m_normal);
}