Skip to content
Snippets Groups Projects

HealPixPrior (Resloves Issue #419)

Merged Bruce Edelman requested to merge bruce.edelman/bilby:joint_prior into master
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
0
@@ -957,6 +957,8 @@ class HealPixMapPriorDist(BaseJointPriorDist):
"""
dist = self.distance_dist(1)
name = self.names[-1]
if np.isnan(dist):
self.draw_distance()
if (dist > self.bounds[name][1]) | (dist < self.bounds[name][0]):
self.draw_distance()
else:
Loading