fix: fixes bug if case of clamping necessary

This commit is contained in:
2023-07-27 17:09:52 -05:00
parent 8e6ead416c
commit 161bcf42ad

View File

@@ -208,7 +208,7 @@ class BayesRunWithSubspaceSimulation:
for (name, result) in zip(self.model_names, results):
if result.over_target_likelihood is None:
clamped_likelihood = result.probs_list[-1][0] / CLAMPING_FACTOR
clamped_likelihood = result.lowest_likelihood / CLAMPING_FACTOR
_logger.warning(
f"got a none result, clamping to {clamped_likelihood}"
)