Closed braingram closed 7 months ago
@zacharyburnett can we squeeze this into 1.6.2? If not I'll need to update the changelog entry for this PR.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.18%. Comparing base (
41259f3
) to head (af5aefb
). Report is 11 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks! I'd hold off re-running them until @schlafly can update the truth files. The change here only breaks jenkins in the same way as the local tests were failing (so this PR will break 2 regtests in romancal until the truth files can be updated).
The use of
sqrt
from libc results in a cast to/fromdouble
in the ols_cas22 ramp fitting (with jump detection). This can result in small numerical differences that lead to romancal regtests that passed on jenkins but failed locally (due to a single extra jump in one pixel).This PR switches
sqrt
forsqrtf
to keep the intermediate values asfloat
which leads to (at the moment) the same failure locally and on jenkins (wheretest_rampfit_step[spec_full]
fails with a single pixel difference):Regtest run here: https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/681/ The
test_resample
failure is unrelated and also occurs on main.Checklist
CHANGES.rst
(either inBug Fixes
orChanges to API
)