Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lscsoft
lalsuite
Commits
74d9bf80
Commit
74d9bf80
authored
Feb 02, 2017
by
Leo P. Singer
Browse files
Restore missing factor
Original: 2ae5d47dc295bebcf75a85f9d3f93f935054721f
parent
4886040a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lalinference/src/bayestar_sky_map.c
View file @
74d9bf80
...
...
@@ -882,7 +882,7 @@ bayestar_pixel *bayestar_sky_map_toa_phoa_snr(
for
(
unsigned
char
k
=
0
;
k
<
3
;
k
++
)
sum_accum2
[
k
]
+=
exp
(
accum2
[
isample
][
k
]
-
max_accum2
[
k
]);
for
(
unsigned
char
k
=
0
;
k
<
3
;
k
++
)
accum1
[
k
]
=
logaddexp
(
accum1
[
k
],
log
(
sum_accum2
[
k
]
*
weight
));
accum1
[
k
]
=
logaddexp
(
accum1
[
k
],
log
(
sum_accum2
[
k
]
*
weight
)
+
max_accum2
[
k
]
);
}
for
(
unsigned
char
k
=
0
;
k
<
3
;
k
++
)
...
...
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