From 23e09775e0d0dc8633c0f5c64726e683c0591a2c Mon Sep 17 00:00:00 2001 From: Antti Soininen <soininen@ill.fr> Date: Tue, 17 Oct 2017 09:55:43 +0200 Subject: [PATCH] Code beautification. Re #20898 --- Framework/Algorithms/src/CalculatePolynomialBackground.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/Algorithms/src/CalculatePolynomialBackground.cpp b/Framework/Algorithms/src/CalculatePolynomialBackground.cpp index 0508e8c50a7..5d4691b252d 100644 --- a/Framework/Algorithms/src/CalculatePolynomialBackground.cpp +++ b/Framework/Algorithms/src/CalculatePolynomialBackground.cpp @@ -277,8 +277,8 @@ void CalculatePolynomialBackground::init() { declareProperty(Kernel::make_unique<Kernel::ArrayProperty<double>>( Prop::XRANGES, std::vector<double>(), orderedPairs), "A list of fitting ranges given as pairs of X values."); - std::array<std::string, 2> costFuncOpts{{CostFunc::WEIGHTED_LEAST_SQUARES, - CostFunc::UNWEIGHTED_LEAST_SQUARES}}; + std::array<std::string, 2> costFuncOpts{ + {CostFunc::WEIGHTED_LEAST_SQUARES, CostFunc::UNWEIGHTED_LEAST_SQUARES}}; declareProperty( Prop::COST_FUNCTION, CostFunc::WEIGHTED_LEAST_SQUARES.c_str(), boost::make_shared<Kernel::ListValidator<std::string>>(costFuncOpts), -- GitLab