Skip to content

Buckling MPC fixes#195

Merged
zchlrnr merged 4 commits intoMystranSolver:mainfrom
Bruno02468:main
Feb 11, 2026
Merged

Buckling MPC fixes#195
zchlrnr merged 4 commits intoMystranSolver:mainfrom
Bruno02468:main

Conversation

@Bruno02468
Copy link
Copy Markdown
Collaborator

@Bruno02468 Bruno02468 commented Feb 11, 2026

This PR fixes crashes caused by adding MPCs to SOL 105 (buckling) decks, fixing #192.

All issues revolve around arrays being deallocated or files being deleted when they shouldn't. Buckling runs are particularly vulnerable to that since they effectively run MYSTRAN twice, and many deallocations/closes do not check if we're in the first step of a two-step run.

Oh, and there's also a tiny little commit that adds my Deterministic build type to the build script. It's meant to help when users in different OSes, toolchain versions, or CPU architectures see different results.

Special thanks to @victorkemp for finding and reporting this issue!

@zchlrnr zchlrnr merged commit 87aa848 into MystranSolver:main Feb 11, 2026
1 check passed
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