Skip to content

Conversation

@katiebreivik
Copy link
Collaborator

After much ado -- and a winter break -- I found the segfault that was breaking when we set the radius with comprad. the new core mass arrays are only size 2 so when we write to index ~huge, we overwrite some memory that eventually becomes problematic.

We should now have a PR that passes tests and adds the mass of the core helium and carbon-oxygen layers. :phew:

…he iterator that goes up to 1e5 even though mc_co and mc_he are of size 2, so memory gets overwritten and eventually busses. rip
@xevra
Copy link
Owner

xevra commented Jan 6, 2026

I looked at the calls in your comenv.f folder, and back to the previous bugfix PR (COSMIC-PopSynth#700)

And double checked the ordering of the outputs, and they look good!

@xevra xevra merged commit 65921ae into xevra:presn-mass Jan 6, 2026
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.

2 participants