diff --git a/examples/crhmc_cooling_gaussians/volume_example.cpp b/examples/crhmc_cooling_gaussians/volume_example.cpp index d28fba051..e02a42136 100644 --- a/examples/crhmc_cooling_gaussians/volume_example.cpp +++ b/examples/crhmc_cooling_gaussians/volume_example.cpp @@ -1,13 +1,6 @@ -#include "Eigen/Eigen" -#include -#include "cartesian_geom/cartesian_kernel.h" -#include "convex_bodies/hpolytope.h" #include "generators/known_polytope_generators.h" - #include "random_walks/random_walks.hpp" -#include "volume/volume_sequence_of_balls.hpp" #include "volume/volume_cooling_gaussians_crhmc.hpp" -#include "volume/volume_cooling_balls.hpp" #include #include @@ -25,7 +18,7 @@ void calculateAndVerifyVolume(HPOLYTOPE& polytope) { RandomNumberGenerator rng(polytope.dimension()); - NT volume = volume_cooling_gaussians(polytope, rng, e, walk_len); + NT volume = volume_cooling_gaussians_crhmc(polytope, rng, e, walk_len); std::cout << "Volume " << volume << std::endl; } diff --git a/include/volume/volume_cooling_gaussians_crhmc.hpp b/include/volume/volume_cooling_gaussians_crhmc.hpp index fe1463c7c..77d282ca5 100644 --- a/include/volume/volume_cooling_gaussians_crhmc.hpp +++ b/include/volume/volume_cooling_gaussians_crhmc.hpp @@ -230,7 +230,7 @@ template typename WalkTypePolicy = CRHMCWalk, int simdLen = 8 > -double volume_cooling_gaussians(Polytope& Pin, +double volume_cooling_gaussians_crhmc(Polytope& Pin, RandomNumberGenerator& rng, double const& error = 0.1, unsigned int const& walk_length = 1)