Skip to content

Commit

Permalink
fixes bug that happens for vertives with adaptive corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
askhamwhat committed Jan 6, 2025
1 parent e140385 commit 5047894
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chunkie/chunkermat.m
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@

% mark off the near and self interactions
for ich = 1:chnkr.nch
for jch = [ich,chnkr.adj(1,ich),chnkr.adj(2,ich)]
jlist = [ich,chnkr.adj(1,ich),chnkr.adj(2,ich)];
jlist = jlist(jlist > 0);
for jch = jlist
flag((jch - 1)*chnkr.k+(1:chnkr.k), ich) = 0;
end
end
Expand Down

0 comments on commit 5047894

Please sign in to comment.