Skip to content

Cell memory fix#1292

Merged
carlosggarcia merged 5 commits into
masterfrom
cell_memory_fix
May 13, 2026
Merged

Cell memory fix#1292
carlosggarcia merged 5 commits into
masterfrom
cell_memory_fix

Conversation

@rreischke
Copy link
Copy Markdown
Contributor

I think there are some potential memory leakages, especially if called in parallel. In particular I fixed:

  • a_tmp and b_tmp were declared without initialisation
  • forward_plan and reverse_plan were created unconditionally, they are also destroyed unconditionally now
  • If ccl_sigma8 fails, the first psp_out was never freed.

@rreischke rreischke requested a review from paulrogozenski May 11, 2026 11:36
@coveralls
Copy link
Copy Markdown

coveralls commented May 13, 2026

Coverage Report for CI Build 25825627743

Coverage remained the same at 97.471%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 6800
Covered Lines: 6628
Line Coverage: 97.47%
Coverage Strength: 4.87 hits per line

💛 - Coveralls

Copy link
Copy Markdown
Collaborator

@carlosggarcia carlosggarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@carlosggarcia carlosggarcia merged commit dafc23e into master May 13, 2026
12 checks passed
@carlosggarcia carlosggarcia deleted the cell_memory_fix branch May 13, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants