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