Skip to content

Commit

Permalink
Merge pull request #31972 from mariadalfonso/GPUcaloCommon
Browse files Browse the repository at this point in the history
GPUcaloCommon: fix parentheses
  • Loading branch information
cmsbuild committed Oct 29, 2020
2 parents 9f65642 + 67dbfa1 commit 12a94b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/CaloRecHit/interface/MultifitComputations.h
Expand Up @@ -338,7 +338,7 @@ namespace calo {
}

// check for convergence
if (w_max < eps || w_max_idx == w_max_idx_prev && w_max == w_max_prev)
if (w_max < eps || (w_max_idx == w_max_idx_prev && w_max == w_max_prev))
break;

if (iter >= maxIterations)
Expand Down

0 comments on commit 12a94b7

Please sign in to comment.