Fixed compilation warning

This commit is contained in:
Laurent Saboret 2009-09-29 09:49:23 +00:00
parent 98f2489793
commit e3ad01d00f
1 changed files with 3 additions and 2 deletions

View File

@ -363,11 +363,12 @@ private:
if (max_memory <= 0) { // if peak_virtual_size() not implemented
CGAL_TRACE(" Sorry. Cannot get Choleschy factorization max allocation on this system.\n");
} else {
if (max_memory > old_max_memory)
if (max_memory > old_max_memory) {
CGAL_TRACE(" Max allocation in Choleschy factorization = %ld Mb\n", max_memory>>20);
else
} else {
CGAL_TRACE(" Sorry. Failed to get Choleschy factorization max allocation.\n");
CGAL_TRACE(" Max allocation since application start = %ld Mb\n", max_memory>>20);
}
}
CGAL_TRACE(" %ld Mb allocated\n", long(CGAL::Memory_sizer().virtual_size()>>20));