Changeset 1556:caf0f91e16a7 in lemon-0.x
- Timestamp:
- 07/13/05 22:02:29 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2052
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/descriptor_map_demo.cc
r1554 r1556 91 91 // The inversemap cannot works without its DescriptorMap because 92 92 // it holds reference to it. 93 const int EDGE = (int)(NODE * std::log( NODE));93 const int EDGE = (int)(NODE * std::log(double(NODE))); 94 94 for (int i = 0; i < EDGE; ++i) { 95 95 int si = (int)(std::rand() / (RAND_MAX + 1.0) * NODE);
Note: See TracChangeset
for help on using the changeset viewer.