BAMresearch/probeye

Decouple prior-classes from inference problem

Closed this issue · 1 comments

Currently, some prior-classes are stored in InferenceProblem._prior_classes (this is a dictionary). Prior objects are then instantiated by name (which are the keys or InferenceProblem._prior_classes). These prior classes should be removed from the InferenceProblem class. Instead, priors should be instatiated outside of InferenceProblem, and then simply added to it.

This issue was solved by commit 'Moved prior's computing routines from definition to inference code base' in pull request #1.