Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix u8 eq #1

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Fix u8 eq #1

wants to merge 12 commits into from

Conversation

bam241
Copy link
Member

@bam241 bam241 commented Sep 17, 2022

This seems to fix the observe bug :free(): double free detected in tcache 2

It occurred manipulated mats and compo when creating 2 materials from a mat, one containing the special nucs and one similar to the initial one expect that all special nucs were replaced by u238

@bam241
Copy link
Member Author

bam241 commented Sep 17, 2022

I design the fix without having to do subtraction which seems to be causing the problem...

Everything is done now by looping over the initial mat and filling out the 2 we are creating.
The former method extracted the special nucs form the initial mat, and refilled it with the same mass of u238 ....

@bam241
Copy link
Member Author

bam241 commented Sep 17, 2022

@gonuke not sure what we want to do with this.

Also found out we don't have unit test for this...

Copy link
Member Author

@bam241 bam241 left a comment

Choose a reason for hiding this comment

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

few comments...

@@ -1 +1,2 @@
build
.DS_Store
Copy link
Member Author

Choose a reason for hiding this comment

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

this is because Mac OS is annoying

@@ -1,4 +1,3 @@
=====
Copy link
Member Author

Choose a reason for hiding this comment

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

This I don't know... I can revert it if need be

@@ -1,7 +1,7 @@
### DO NOT DELETE THIS COMMENT: INSERT_ARCHETYPES_HERE ###
USE_CYCLUS("cycvt" "special_enrich")

INSTALL_CYCLUS_MODULE("cycvt" "./cycvt")
INSTALL_CYCLUS_MODULE("cycvt" "" "NONE")
Copy link
Member Author

Choose a reason for hiding this comment

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

This is copied from cycamore, otherwise cycvt was compiling but not found.

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.

1 participant