- Fix demo/examples following the change of return type of remove().

This commit is contained in:
Sylvain Pion 2003-01-29 12:42:56 +00:00
parent 3f60ed0138
commit befaa02446
3 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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)

View File

@ -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 );