fix: fixes bug if case of clamping necessary
This commit is contained in:
@@ -208,7 +208,7 @@ class BayesRunWithSubspaceSimulation:
|
|||||||
|
|
||||||
for (name, result) in zip(self.model_names, results):
|
for (name, result) in zip(self.model_names, results):
|
||||||
if result.over_target_likelihood is None:
|
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(
|
_logger.warning(
|
||||||
f"got a none result, clamping to {clamped_likelihood}"
|
f"got a none result, clamping to {clamped_likelihood}"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user