Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
a556ef19
Commit
a556ef19
authored
Sep 18, 2018
by
Reimar H Leike
Browse files
saved LOS-response from potentially nasty overflow
parent
ada9e2d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/los_response.py
View file @
a556ef19
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment