Changes in demo/lgf_demo.cc [143:c3b45bb643b0:127:1c9a9e2f7d4d] in lemon-1.1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/lgf_demo.cc
r143 r127 38 38 int main(int argc, const char *argv[]) { 39 39 const int n = argc > 1 ? std::atoi(argv[1]) : 20; 40 const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * std::log(double(n)));40 const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * log(n)); 41 41 const int m = argc > 3 ? std::atoi(argv[3]) : 100; 42 42
Note: See TracChangeset
for help on using the changeset viewer.