Skip to content

Commit 1a6f8aa

Browse files
committed
make variable name consistent
1 parent 0888214 commit 1a6f8aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

waf_tools/exp_template.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct Params {
2626
#endif
2727

2828
struct bayes_opt_bobase : public defaults::bayes_opt_bobase {
29-
@BAYES_OPT_BOBASE_STATS_ENABLED
29+
@BAYES_OPT_BOBASE_STATS_DISABLED
3030
};
3131

3232
struct kernel_exp : public defaults::kernel_exp {

waf_tools/limbo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def create_exp(name, opt):
117117

118118
cpp_params = {}
119119
cpp_params['BAYES_OPT_BOPTIMIZER_NOISE'] = ' BO_PARAM(double, noise, ' + str(opt.bayes_opt_boptimizer_noise) + ');\n ' if opt.bayes_opt_boptimizer_noise and opt.bayes_opt_boptimizer_noise >= 0 else ''
120-
cpp_params['BAYES_OPT_BOBASE_STATS_ENABLED'] = ' BO_PARAM(bool, stats_enabled, false);\n ' if opt.bayes_opt_bobase_stats_disabled else ''
120+
cpp_params['BAYES_OPT_BOBASE_STATS_DISABLED'] = ' BO_PARAM(bool, stats_enabled, false);\n ' if opt.bayes_opt_bobase_stats_disabled else ''
121121
cpp_params['INIT_RANDOMSAMPLING_SAMPLES'] = ' BO_PARAM(int, samples, ' + str(opt.init_randomsampling_samples) + ');\n ' if opt.init_randomsampling_samples and opt.init_randomsampling_samples > 0 else ''
122122
cpp_params['STOP_MAXITERATIONS_ITERATIONS'] = ' BO_PARAM(int, iterations, ' + str(opt.stop_maxiterations_iterations) + ');\n ' if opt.stop_maxiterations_iterations and opt.stop_maxiterations_iterations > 0 else ''
123123

0 commit comments

Comments
 (0)