We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98e754 commit 748c619Copy full SHA for 748c619
1 file changed
src/gravity/step.h
@@ -17,7 +17,7 @@ inline void Step(std::vector<Particle>& p, real dt) {
17
18
#pragma omp parallel for schedule(static)
19
for (int i = 0; i < p.size(); i++) {
20
- bhForce(&root, p[I], theta, dt);
+ bhForce(&root, p[i], theta, dt);
21
}
22
23
for (auto& a : p) {
0 commit comments