Skip to content

Commit

Permalink
Update hoomd/mpcd/CosineChannelGeometry.h
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Howard <mphoward@auburn.edu>
  • Loading branch information
baho-cb and mphoward authored Jul 16, 2024
1 parent 319988e commit acbfa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hoomd/mpcd/CosineChannelGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class __attribute__((visibility("default"))) CosineChannelGeometry
// because we know that point1 outside of the channel and point2 is inside of
// the channel, we only need to check the halfway point3 - if it is inside,
// replace point2, if it is outside, replace point1
if (isOutside(point3) == false)
if (!isOutside(point3))
{
point2 = point3;
}
Expand Down

0 comments on commit acbfa2c

Please sign in to comment.