COIN-OR::LEMON - Graph Library

Changeset 1556:caf0f91e16a7 in lemon-0.x for demo/descriptor_map_demo.cc


Ignore:
Timestamp:
07/13/05 22:02:29 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2052
Message:

Avoid ambiguity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/descriptor_map_demo.cc

    r1554 r1556  
    9191  // The inversemap cannot works without its DescriptorMap because
    9292  // it holds reference to it.
    93   const int EDGE = (int)(NODE * std::log(NODE));
     93  const int EDGE = (int)(NODE * std::log(double(NODE)));
    9494  for (int i = 0; i < EDGE; ++i) {
    9595    int si = (int)(std::rand() / (RAND_MAX + 1.0) * NODE);
Note: See TracChangeset for help on using the changeset viewer.