Skip to content

missing check for DihedralType in Dihedral.funct#1170

Merged
swails merged 3 commits into
ParmEd:masterfrom
anabiman:patch1
May 13, 2021
Merged

missing check for DihedralType in Dihedral.funct#1170
swails merged 3 commits into
ParmEd:masterfrom
anabiman:patch1

Conversation

@anabiman

@anabiman anabiman commented Apr 23, 2021

Copy link
Copy Markdown
Contributor

The funct property in the Dihedral class can return incorrect self._funct when self.type is DihedralType. This ensures Dihedral.funct checks for DihedralType and subsequently returns 1.

@swails swails left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@swails swails merged commit 1e5e63c into ParmEd:master May 13, 2021
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.

2 participants