Skip to content

Commit fae16ea

Browse files
committed
remove unnessary if-condition
1 parent 5f41d97 commit fae16ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bilby/core/prior/dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ def rescale(self, keys, theta):
888888
names = set(self[key].dist.names)
889889
if distname not in joint:
890890
joint[distname] = {key}
891-
elif isinstance(self[key], JointPrior):
891+
else:
892892
joint[distname].add(key)
893893
# only when all names have been rescaled, we can set the values
894894
# we use sets because the order does not matter here

0 commit comments

Comments
 (0)