Skip to content

Commit

Permalink
fix warning on brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice committed Mar 21, 2017
1 parent b89b5c5 commit 9d71dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papas/datatypes/src/Helix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Helix::Helix(const TLorentzVector& p4, const TVector3& origin, double field, dou
std::array<double, 3> Helix::polarAtTime(double time) const {
double z = vZ() * time + m_origin.Z();
double phi = -m_omega * time + m_phi0;
return std::array<double, 3>{m_rho, z, phi};
return std::array<double, 3>{{m_rho, z, phi}};
}

double Helix::timeAtPhi(double phi) const {
Expand Down

0 comments on commit 9d71dff

Please sign in to comment.