Commit ac1ecdf
committed
Check "nj > 0" at the caller
We do not want to call "evaluate_gravity" when "nj==0". The check for this is now made at the caller, not at the callee.1 parent c85271f commit ac1ecdf
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
0 commit comments