File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2222*/
2323
2424#ifndef _MEAN_ATOMIC_HPP_
25- #define _MEAN_ATOMIC_HPP__
25+ #define _MEAN_ATOMIC_HPP_
2626
2727#include < boost/numeric/ublas/vector_proxy.hpp>
2828#include " mean_functors.hpp"
Original file line number Diff line number Diff line change 1919# along with BayesOpt. If not, see <http://www.gnu.org/licenses/>.
2020# ------------------------------------------------------------------------
2121
22+ import sys
2223import bayesopt
2324from bayesoptmodule import BayesOptContinuous
2425import numpy as np
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ namespace bayesopt
120120 {
121121 std::istringstream ss (str);
122122 T result;
123- return ss >> std::setprecision (precision) >> result ? result : 0 ;
123+ return ( ss >> std::setprecision (precision) >> result) ? result : 0 ;
124124 }
125125 private:
126126 /* Search variables in file */
You can’t perform that action at this time.
0 commit comments