diff --git a/examples/count-linear-extensions-using-hpolytope/volesti_lecount.cpp b/examples/count-linear-extensions-using-hpolytope/volesti_lecount.cpp index 3e430d7fd..f34a35cd2 100644 --- a/examples/count-linear-extensions-using-hpolytope/volesti_lecount.cpp +++ b/examples/count-linear-extensions-using-hpolytope/volesti_lecount.cpp @@ -55,7 +55,7 @@ struct ArgOptions { case CG: return volume_cooling_gaussians(P, e, walk_len); case CB: - return volume_cooling_balls(P, e, walk_len).second;; + return volume_cooling_balls(P, e, 2*walk_len).second;; } return -1; @@ -79,11 +79,10 @@ NT calculateLinearExtension(ArgOptions& args) { unsigned int d = (args.HP)->dimension(); unsigned int walk_len = 10 + d/10; NT e=0.1; - // calculate volume of the order polytope NT round_multiply = 1.0; if (args.with_rounding) { - walk_len = 1; + //walk_len = 1; RNGType rng(d); std::pair InnerBall = (args.HP)->ComputeInnerBall();