Skip to content
Snippets Groups Projects
Commit c787bae5 authored by Miljenko Suljic's avatar Miljenko Suljic :volcano:
Browse files

Add missing sqrt

parent ee107a29
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ StatusCode AnalysisTracks::run(const std::shared_ptr<Clipboard>& clipboard) {
auto j = i + 1;
while(j < val.size()) {
auto p = val.at(i) - val.at(j);
_distance_between_tracks_.at(key)->Fill((p.Mag2()));
_distance_between_tracks_.at(key)->Fill(sqrt(p.Mag2()));
j++;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment