mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
avoid python C API segfault on intel mac
This commit is contained in:
parent
e49c2c7d29
commit
e3e659ca83
3 changed files with 9 additions and 1 deletions
|
|
@ -193,6 +193,7 @@ int parse_command_line(int argc, char* argv[])
|
|||
// Set path and flag for type of run
|
||||
if (filetype == "statepoint") {
|
||||
settings::path_statepoint = argv[i];
|
||||
settings::path_statepoint_c = settings::path_statepoint.c_str();
|
||||
settings::restart_run = true;
|
||||
} else if (filetype == "particle restart") {
|
||||
settings::path_particle_restart = argv[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue