Skip to content

Commit

Permalink
Fixed crhmc walk non-template call problem
Browse files Browse the repository at this point in the history
  • Loading branch information
vgnecula committed Jul 18, 2024
1 parent 2b88ecd commit 2920e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/volume/volume_cooling_gaussians_crhmc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void compute_annealing_schedule(Polytope& P,
// Compute some ratios to decide if this is the last gaussian
for (unsigned int j = 0; j < steps; j++)
{
walk.template apply(rng, walk_length);
walk.apply(rng, walk_length);
p = walk.getPoint();
#ifdef VOLESTI_DEBUG
std::cout<<"Walk point " << std::endl;
Expand Down Expand Up @@ -400,7 +400,7 @@ double volume_cooling_gaussians(Polytope& Pin,

while (!done || (*itsIt)<min_steps)
{
walk.template apply(rng, walk_length);
walk.apply(rng, walk_length);
p = walk.getPoint();
*itsIt = *itsIt + 1.0;
*fnIt = *fnIt + eval_exp(p,*(avalsIt+1)) / eval_exp(p,*avalsIt);
Expand Down

0 comments on commit 2920e9c

Please sign in to comment.