Skip to content

Conversation

wdconinc
Copy link
Contributor

@wdconinc wdconinc commented Oct 7, 2025

Briefly, what does this PR introduce?

This PR applies clang-tidy readability-braces-around-statements check fixes from main.

What kind of change does this PR introduce?

  • Bug fix (issue: code base should satisfy PR clang-tidy requirements)
  • 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.

@wdconinc wdconinc enabled auto-merge October 7, 2025 23:36
@github-actions github-actions bot added topic: calorimetry relates to calorimetry topic: tracking Relates to tracking reconstruction topic: digitization labels Oct 7, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

outPulse.setTime(startTime);

// stop at the next cycle
for (double currTime = startTime; currTime < startTime + m_cfg.EICROC_period;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ clang-analyzer-security.FloatLoopCounter ⚠️
Variable currTime with floating point type double should not be used as a loop counter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: calorimetry relates to calorimetry topic: digitization topic: tracking Relates to tracking reconstruction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant