Closed drewoldag closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
fd13285
) 97.17% compared to head (06847f1
) 97.18%. Report is 5 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This fixes issue #82
Updated logic in
calculate_point_estimates
to conditionally create or append to ancil dictionary.Problem & Solution Description (including issue #)
Prior to this change the last step in the
calculate_point_estimates
function would callqp_ensemble.set_ancil(...)
. That function will replace any existing ancil dictionary with the new one that is passed in.Now, we'll check to see if the ensemble's ancil data is non-None. If so, we append the new dictionary to the existing ancil dictionary. If an ancil dictionary hasn't already been created, we'll add the new dictionary to the ensemble as the ancil dict.
Code Quality
#pragma: no cover
; in the case of a bugfix, a new test that breaks as a result of the bug has been added