Changeset 1332:bf228b5f648f in lemon-0.x
- Timestamp:
- 04/09/05 21:32:06 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1771
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/fib_heap.h
r1270 r1332 24 24 #include <vector> 25 25 #include <functional> 26 #include < math.h>26 #include <cmath> 27 27 28 28 namespace lemon { … … 384 384 void FibHeap<Item, Prio, ItemIntMap, Compare>::balance() { 385 385 386 int maxdeg=int( floor( 2.08*log(double(container.size()))))+1;386 int maxdeg=int( std::floor( 2.08*log(double(container.size()))))+1; 387 387 388 388 std::vector<int> A(maxdeg,-1);
Note: See TracChangeset
for help on using the changeset viewer.