Skip to content

Use std::unique_ptr for InteractionForce ownership - #477

Open
stanbot8 wants to merge 1 commit into
BioDynaMo:masterfrom
stanbot8:fix/own-interaction-force
Open

Use std::unique_ptr for InteractionForce ownership#477
stanbot8 wants to merge 1 commit into
BioDynaMo:masterfrom
stanbot8:fix/own-interaction-force

Conversation

@stanbot8

Copy link
Copy Markdown
Contributor

MechanicalForcesOp copied, replaced, and deleted its InteractionForce through a manually owned raw pointer. Retain the force in std::unique_ptr<InteractionForce>.

@stanbot8
stanbot8 force-pushed the fix/own-interaction-force branch from 513206f to 946ec65 Compare September 7, 2026 18:19
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