avoid python C API segfault on intel mac

This commit is contained in:
stchaker 2023-04-04 16:58:28 -04:00
parent e49c2c7d29
commit e3e659ca83
3 changed files with 9 additions and 1 deletions

View file

@ -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];