COIN-OR::LEMON - Graph Library

Changeset 1332:bf228b5f648f in lemon-0.x


Ignore:
Timestamp:
04/09/05 21:32:06 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1771
Message:

Make standard conform. math.h -> cmath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/fib_heap.h

    r1270 r1332  
    2424#include <vector>
    2525#include <functional>
    26 #include <math.h>
     26#include <cmath>
    2727
    2828namespace lemon {
     
    384384  void FibHeap<Item, Prio, ItemIntMap, Compare>::balance() {     
    385385
    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;
    387387 
    388388    std::vector<int> A(maxdeg,-1);
Note: See TracChangeset for help on using the changeset viewer.