LSSTDESC / firecrown

DESC Cosmology Likelihood Framework
BSD 3-Clause "New" or "Revised" License
29 stars 7 forks source link

The state machine in GaussFamily would be easier to maintain if implemented with a decorator #360

Closed marcpaterno closed 4 months ago

marcpaterno commented 7 months ago

In the review of the code that added the state machine control to GaussFamily, it was noted that the code would be easier to maintain if a decorator were used to enforce the preconditions and postconditions.

marcpaterno commented 4 months ago

This issue should have been closed by PR #356 which introduces a state machine for this purpose.