Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix maybe uninitialized warning in PairModulator #1964

Open
wants to merge 1 commit into
base: trunk-patch
Choose a base branch
from

Conversation

mphoward
Copy link
Collaborator

@mphoward mphoward commented Dec 4, 2024

Description

My compiler raised some warnings about variables maybe being used uninitialized in PairModulator. This should silence those by initializing all member variables in the constructor.

Motivation and context

Code should compile without warning.

How has this been tested?

The compiler warnings went away.

Checklist:

  • I have reviewed the Contributor Guidelines.
  • I agree with the terms of the HOOMD-blue Contributor Agreement.
  • My name is on the list of contributors (sphinx-doc/credits.rst) in the pull request source branch.
  • I have summarized these changes in CHANGELOG.rst following the established format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant