Commit a19bc7f4 authored by Stefan Behnel's avatar Stefan Behnel

another benchmark optimisation

parent 1e1ce41a
...@@ -9,7 +9,7 @@ cdef combinations(list l) ...@@ -9,7 +9,7 @@ cdef combinations(list l)
cdef advance(double dt, long n, list bodies=*, list pairs=*) cdef advance(double dt, long n, list bodies=*, list pairs=*)
@cython.locals(x1=double, x2=double, y1=double, y2=double, z1=double, z2=double, @cython.locals(x1=double, x2=double, y1=double, y2=double, z1=double, z2=double,
m1=double, m2=double, vx=double, vy=double, vz=double) m=double, m1=double, m2=double, vx=double, vy=double, vz=double)
cdef report_energy(list bodies=*, list pairs=*, double e=*) cdef report_energy(list bodies=*, list pairs=*, double e=*)
@cython.locals(vx=double, vy=double, vz=double, m=double) @cython.locals(vx=double, vy=double, vz=double, m=double)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment