fix: display compilation error in benchmark

the checking of llvm expected was not correct
This commit is contained in:
rudy
2022-11-21 15:05:26 +01:00
committed by rudy-6-4
parent bb756a6426
commit de779b2f6f
3 changed files with 26 additions and 24 deletions

View File

@@ -176,7 +176,7 @@ llvm::Expected<V0Parameter> getParameter(optimizer::Description &descr,
std::isnan(config.p_error) && std::isnan(config.global_p_error);
if (naive_user) {
config.global_p_error = optimizer::DEFAULT_P_ERROR;
config.global_p_error = optimizer::DEFAULT_GLOBAL_P_ERROR;
}
if (std::isnan(config.p_error)) {
// We always need a valid p-error