Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dm-interactions
class_v2.7_nuDM
Commits
b2a4606f
Commit
b2a4606f
authored
Aug 07, 2018
by
ThomasTram
Browse files
Fixed a bug leading to double free when combining the new quadrature strategies with shooting
parent
1d201a34
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/background.c
View file @
b2a4606f
...
...
@@ -1337,8 +1337,8 @@ int background_ncdm_init(
pba
->
error_message
,
pba
->
error_message
);
for
(
index_q
=
0
;
index_q
<
pba
->
q_size_ncdm
[
k
];
index_q
++
)
{
pba
->
q_ncdm_bg
[
k
]
=
pba
->
q_ncdm
[
k
];
pba
->
w_ncdm_bg
[
k
]
=
pba
->
w_ncdm
[
k
];
pba
->
q_ncdm_bg
[
k
]
[
index_q
]
=
pba
->
q_ncdm
[
k
]
[
index_q
]
;
pba
->
w_ncdm_bg
[
k
]
[
index_q
]
=
pba
->
w_ncdm
[
k
]
[
index_q
]
;
}
/** - in verbose mode, inform user of number of sampled momenta
for background quantities */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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