Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
abkein committed Jan 17, 2025
1 parent f39c7c7 commit 3e47282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fix_capture_vel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void FixCaptureVel::post_neighbor()

for (int ii = 0; ii < inum; ii++) {
int i = ilist[ii];
if (i > atom->nlocal) { continue; }
if (i >= atom->nlocal) { continue; }
if (((mask[i] & groupbit) != 0) && (region->match(atom->x[i][0], atom->x[i][1], atom->x[i][2]) != 0)) {
const double vx = v[i][0];
const double vy = v[i][1];
Expand Down

0 comments on commit 3e47282

Please sign in to comment.