Skip to content
Snippets Groups Projects
Commit a556ef19 authored by Reimar H Leike's avatar Reimar H Leike
Browse files

saved LOS-response from potentially nasty overflow

parent ada9e2d2
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@ class LOSResponse(LinearOperator):
tmp += (fullidx[j]//boxsz)*fct
fct *= self._local_shape[j]
tmp += cnt/float(nlos)
tmp += iarr[ofs:ofs+nval]/float(nlos*npix)
tmp += iarr[ofs:ofs+nval]/(float(nlos)*float(npix))
pri[ofs:ofs+nval] = tmp
ofs += nval
cnt += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment