mirror of https://github.com/CGAL/cgal
- Fix demo/examples following the change of return type of remove().
This commit is contained in:
parent
3f60ed0138
commit
befaa02446
|
|
@ -1,3 +1,6 @@
|
|||
Version 1.130 (29 Jan 03)
|
||||
- Fix demo/examples following the change of return type of remove().
|
||||
|
||||
Version 1.129 (27 Jan 03)
|
||||
- Fix mistakes in Regular documentation.
|
||||
- Delaunay_3::remove() now returns void.
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ int main()
|
|||
std::random_shuffle(V.begin(), V.end());
|
||||
|
||||
for (i=0; i<125; ++i) {
|
||||
assert( T.remove(V[i]) );
|
||||
T.remove(V[i]);
|
||||
gv.clear();
|
||||
gv << T;
|
||||
}
|
||||
|
|
@ -150,7 +150,7 @@ int main()
|
|||
std::cout << "Enter any character to quit" << std::endl;
|
||||
std::cin >> ch;
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif // if defined(__BORLANDC__) || defined(_MSC_VER)
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ int main()
|
|||
std::random_shuffle(V.begin(), V.end());
|
||||
|
||||
for (i=0; i<125; ++i)
|
||||
assert( T.remove(V[i]) );
|
||||
T.remove(V[i]);
|
||||
|
||||
assert( T.is_valid() );
|
||||
assert( T.number_of_vertices() == 0 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue