Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstolker committed Sep 24, 2024
1 parent 72fef02 commit 7c13cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbitize/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ def _loglike_multinest(param_cube, n_dim, n_param):
except ModuleNotFoundError:
mpi_rank = 0

if save_results is not None and mpi_rank == 0:
if hdf5_file is not None and mpi_rank == 0:
self.results.save_results(output_file=hdf5_file)

return post_samples[:, :-1]

0 comments on commit 7c13cf8

Please sign in to comment.