Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 26, 2024
1 parent 83c887a commit eb743e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion grits/coarsegrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,9 @@ def save(self, cg_gsdfile, start=0, stop=None, stride=1):

# do the force calculation here
# do the velocity calculation here
velocity += [np.mean(s.particles.velocity[x], axis=0) for x in inds]
velocity += [
np.mean(s.particles.velocity[x], axis=0) for x in inds
]

if self.aniso_beads:
for x in inds:
Expand Down

0 comments on commit eb743e7

Please sign in to comment.