Skip to content

Commit

Permalink
temperature of post cobaya files always 1
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Mar 29, 2023
1 parent 5b32881 commit 82f2636
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions getdist/cobaya_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ def get_sampler_temperature(filename_or_info):
info = yaml_file_or_dict(filename_or_info)
if _sampler not in info:
return None
# post-processed chains have always already been cooled
if _post in info:
return 1
return info[_sampler][get_sampler_key(info)].get("temperature")


Expand Down

0 comments on commit 82f2636

Please sign in to comment.