Skip to content

Commit

Permalink
[mathcore] Fix list init of vector<double>.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Jun 14, 2021
1 parent 69d7d5b commit aab1062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/mathcore/inc/Fit/FitUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ namespace FitUtil {
(const_cast<IModelFunctionTempl<T> &>(func)).SetParameters(p);

double maxResValue = std::numeric_limits<double>::max() / n;
std::vector<double> ones{1, 1, 1, 1};
std::vector<double> ones{1., 1., 1., 1.};
auto vecSize = vecCore::VectorSize<T>();

auto mapFunction = [&](unsigned int i) {
Expand Down

0 comments on commit aab1062

Please sign in to comment.