Skip to content

Commit 748c619

Browse files
fixed typo 2
1 parent b98e754 commit 748c619

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gravity/step.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inline void Step(std::vector<Particle>& p, real dt) {
1717

1818
#pragma omp parallel for schedule(static)
1919
for (int i = 0; i < p.size(); i++) {
20-
bhForce(&root, p[I], theta, dt);
20+
bhForce(&root, p[i], theta, dt);
2121
}
2222

2323
for (auto& a : p) {

0 commit comments

Comments
 (0)