Make standard conform. // math.h -> cmath
1.1 --- a/src/lemon/fib_heap.h Sat Apr 09 19:30:49 2005 +0000
1.2 +++ b/src/lemon/fib_heap.h Sat Apr 09 19:32:06 2005 +0000
1.3 @@ -23,7 +23,7 @@
1.4
1.5 #include <vector>
1.6 #include <functional>
1.7 -#include <math.h>
1.8 +#include <cmath>
1.9
1.10 namespace lemon {
1.11
1.12 @@ -383,7 +383,7 @@
1.13 typename Compare>
1.14 void FibHeap<Item, Prio, ItemIntMap, Compare>::balance() {
1.15
1.16 - int maxdeg=int( floor( 2.08*log(double(container.size()))))+1;
1.17 + int maxdeg=int( std::floor( 2.08*log(double(container.size()))))+1;
1.18
1.19 std::vector<int> A(maxdeg,-1);
1.20