Merge pull request #2455 from stchaker/fix_mac_segfault

avoid python C API segfault on intel mac
This commit is contained in:
Paul Romano 2023-04-21 10:55:41 -05:00 committed by GitHub
commit fffdedf5d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View file

@ -82,6 +82,7 @@ std::string path_output;
std::string path_particle_restart;
std::string path_sourcepoint;
std::string path_statepoint;
const char* path_statepoint_c {path_statepoint.c_str()};
int32_t n_inactive {0};
int32_t max_lost_particles {10};