Reduce Multiplication Operations for mag Factor
Closed this issue · 0 comments
JunjieW commented
The multiplication operations for m2 * mag
and m1 * mag
are done repeatedly, so it's better to make improvement by reusing them.
Comment by jw4339.
Line 91 - 97 in nbody_opt.py