Generic fix and path update

This commit is contained in:
Guilhem Lavaux 2017-07-11 15:36:19 +02:00
parent 019480c0e0
commit 07cfe4137f
6 changed files with 27 additions and 8 deletions

View file

@ -404,9 +404,6 @@ cdef void INTERNAL_project_cic_no_mass(npx.ndarray[DTYPE_t, ndim=3] g,
if b[j] < 0 or b[j]+1 >= Ngrid:
do_not_put = True
print("b = %g %g %g" % (b[0], b[1], b[2]))
print("a = %g %g %g" % (a[0], a[1], a[2]))
if not do_not_put:
g[b[0],b[1],b[2]] += c[0]*c[1]*c[2]
g[b[0]+1,b[1],b[2]] += a[0]*c[1]*c[2]