Skip to content

Commit

Permalink
Update metrics.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
richardnorth3 authored Feb 24, 2025
1 parent aec5d45 commit a53164d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/oneapi/dal/backend/primitives/distance/metrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct correlation_metric : public metric_base<Float> {
Float n1_acc = zero;
Float n2_acc = zero;
Float n1_sum = zero;
Float n1_sum = zero;
Float n2_sum = zero;
Float count = zero;
for (auto it1 = first1, it2 = first2; it1 != last1; ++it1, it2++) {
n1_sum += *it1;
Expand Down

0 comments on commit a53164d

Please sign in to comment.