Fixed bugs with changing max/min of priors within Cosmological and Interped classes
All threads resolved!
Compare changes
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
Within the Interped (core) class, it now yields an error if the maximum is increased (or minimum decreased) post-initialization. The attributes min_limit and max_limit keep track of the original boundaries of the provided arrays, such that the maximum can be decreased and then later increased back to the original value without yielding errors.
Within the Cosmological (gw) class, the distance arrays are recalculated when the boundaries are extended, so the maximum can be increased (or minimum decreased) post-initialization.