Use double-brace init for std::array.

This commit is contained in:
Atgeirr Flø Rasmussen
2016-04-01 17:33:02 +02:00
parent 4868c83d1f
commit eea596988f

View File

@@ -768,7 +768,7 @@ std::tuple<double, double>
double Ptestvalue = pressurePoints[pointidx];
std::array<double,2> maxPhasePerm({0.0, 0.0});
std::array<double,2> maxPhasePerm{{0.0, 0.0}};
std::array<std::vector<double>,2> phasePermValues;
std::array<std::vector<std::vector<double>>,2> phasePermValuesDiag;
std::array<double,2> minPhasePerm;