diff --git a/Project.toml b/Project.toml index 2a74776..db0655f 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,7 @@ uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" keywords = ["probablistic programming"] license = "MIT" desc = "Common interfaces for probabilistic programming" -version = "0.9.0" +version = "0.10.0" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" diff --git a/src/AbstractPPL.jl b/src/AbstractPPL.jl index 33fa417..f121b97 100644 --- a/src/AbstractPPL.jl +++ b/src/AbstractPPL.jl @@ -18,7 +18,7 @@ export VarName, # Abstract model functions -export AbstractProbabilisticProgram, condition, decondition, logdensityof, densityof, AbstractContext, evaluate!! +export AbstractProbabilisticProgram, condition, decondition, fix, unfix, logdensityof, densityof, AbstractContext, evaluate!! # Abstract traces export AbstractModelTrace diff --git a/src/abstractprobprog.jl b/src/abstractprobprog.jl index fdd6815..a2bcb0d 100644 --- a/src/abstractprobprog.jl +++ b/src/abstractprobprog.jl @@ -89,7 +89,7 @@ function fix end Remove any fixed parameters from the model `model`, returning a new model without the fixed parameters. -This function reverses the effect of `fix()` by removing parameter constraints that were previously set. +This function reverses the effect of `fix` by removing parameter constraints that were previously set. It returns a new model where all previously fixed parameters are allowed to vary according to their original distributions in the model.