Skip to content

Commit

Permalink
fix: codespell suggestions (#1494)
Browse files Browse the repository at this point in the history
### Briefly, what does this PR introduce?
This PR fixes some spelling mistakes to pass codespell checks.

### What kind of change does this PR introduce?
- [x] Bug fix (issue
https://results.pre-commit.ci/run/github/512187504/1717547285.VSep7KhZRWigxnLaefu5aw)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No.
  • Loading branch information
wdconinc authored Jun 5, 2024
1 parent 4c75cda commit 23e2471
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial/05-contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ More on the EIC contribution guide is in [this tutorial][eic-environment-tutoria

## Coding style

One can find coding style and other contributins policies at [CONTRIBUTING.md](https://github.com/eic/EICrecon/blob/main/CONTRIBUTING.md). It is yet to be finished but one can find current decisions on coding style there
One can find coding style and other contributions policies at [CONTRIBUTING.md](https://github.com/eic/EICrecon/blob/main/CONTRIBUTING.md). It is yet to be finished but one can find current decisions on coding style there


## References
Expand Down
4 changes: 2 additions & 2 deletions src/algorithms/calorimetry/CalorimeterIslandCluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace eicrecon {
void bfs_group(const edm4eic::CalorimeterHitCollection &hits, std::set<std::size_t> &group, std::size_t idx, std::vector<bool> &visits) const {
visits[idx] = true;

// not a qualified hit to particpate clustering, stop here
// not a qualified hit to participate clustering, stop here
if (hits[idx].getEnergy() < m_cfg.minClusterHitEdep) {
return;
}
Expand All @@ -94,7 +94,7 @@ namespace eicrecon {
for (std::size_t idx1 : group) {
// check neighbours
for (std::size_t idx2 = 0; idx2 < hits.size(); ++idx2) {
// not a qualified hit to particpate clustering, skip
// not a qualified hit to participate clustering, skip
if (hits[idx2].getEnergy() < m_cfg.minClusterHitEdep) {
continue;
}
Expand Down
4 changes: 2 additions & 2 deletions src/algorithms/calorimetry/ImagingTopoCluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ namespace eicrecon {
void bfs_group(const edm4eic::CalorimeterHitCollection &hits, std::set<std::size_t> &group, std::size_t idx, std::vector<bool> &visits) const {
visits[idx] = true;

// not a qualified hit to particpate clustering, stop here
// not a qualified hit to participate clustering, stop here
if (hits[idx].getEnergy() < m_cfg.minClusterHitEdep) {
return;
}
Expand All @@ -195,7 +195,7 @@ namespace eicrecon {
for (std::size_t idx1 : group) {
// check neighbours
for (std::size_t idx2 = 0; idx2 < hits.size(); ++idx2) {
// not a qualified hit to particpate clustering, skip
// not a qualified hit to participate clustering, skip
if (hits[idx2].getEnergy() < m_cfg.minClusterHitEdep) {
continue;
}
Expand Down

0 comments on commit 23e2471

Please sign in to comment.