mirror of https://github.com/CGAL/cgal
use error msg
This commit is contained in:
parent
95d11d45c6
commit
33a1d33690
|
|
@ -74,7 +74,7 @@ inline int indices(const int& i, const int& j)
|
||||||
CGAL_assertion(i < 4 && j < 3);
|
CGAL_assertion(i < 4 && j < 3);
|
||||||
if(i < 4 && j < 3)
|
if(i < 4 && j < 3)
|
||||||
return indices_table[i][j];
|
return indices_table[i][j];
|
||||||
CGAL_assertion(!"invalid indices provided");
|
CGAL_error_msg("Invalid indices provided");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue