Closed arrjon closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.52%. Comparing base (
049493c
) to head (e555ef2
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I reverted the inital fix since I found a better solution. If you now call problem.x_priors
it behaves exactly as problem.objective
, which is the behaviour I would expect (wrt fixed parameters etc.).
After discussion, @PaulJonasJost and I removed the deepcopy of the NegLogParameterPriors
class. Otherwise, copying the prior does not work. This happens in the parallel tempering sampler, when the prior is copied to the different chains.
The
NegLogParameterPriors
objective does not properly account for fixed parameters when invoked during sampling. When it's integrated into theAggregatedObjective
, optimization functions correctly; however, issues arise during sampling becausecall_unprocessed
is triggered with the reduced parameter vector, causing a failure.Maybe there is a better way to fix this, as I just updated the call of
neglogprior
, but I feel this might break stuff during optimzation.