mirror of https://github.com/CGAL/cgal
Fix VC++ warning
This commit is contained in:
parent
9e78cb49c1
commit
077354f76e
|
|
@ -23,9 +23,9 @@ int main()
|
|||
CGAL::Aff_transformation_3<K> trans(0,0,0,1,0,1,0,0,0,0,1,1);
|
||||
PMP::transform(trans, m, params::all_default());
|
||||
bool ok = true;
|
||||
for(std::size_t i = 0; i<m.vertices().size(); ++i)
|
||||
for(Mesh::size_type i = 0; i<m.vertices().size(); ++i)
|
||||
{
|
||||
double z = m.point(static_cast<Mesh::Vertex_index>(i)).z();
|
||||
double z = m.point(Mesh::Vertex_index(i)).z();
|
||||
ok &= z == i+1;
|
||||
}
|
||||
CGAL_assertion(ok);
|
||||
|
|
|
|||
Loading…
Reference in New Issue