Commit 7e11a761 authored by Federico Allocati's avatar Federico Allocati
Browse files

Bug in GP Acquisitions Stat

parent df7675ec
......@@ -25,11 +25,11 @@ namespace limbo {
if (!blacklisted && !bo.samples().empty()) {
std::tie(mu, sigma) = bo.model().query(bo.samples().back());
acqui = BO::acquisition_function_t(bo.model(), bo.iteration())(bo.samples().back(), afun);
acqui = BO::acquisition_function_t(bo.model(), bo.current_iteration())(bo.samples().back(), afun);
}
else if (!bo.bl_samples().empty()) {
std::tie(mu, sigma) = bo.model().query(bo.bl_samples().back());
acqui = BO::acquisition_function_t(bo.model(), bo.iteration())(bo.bl_samples().back(), afun);
acqui = BO::acquisition_function_t(bo.model(), bo.current_iteration())(bo.bl_samples().back(), afun);
}
else
return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment