Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast wres as complex before rephasing #980

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Cast wres as complex before rephasing #980

merged 2 commits into from
Oct 24, 2024

Conversation

jsdillon
Copy link
Member

This fixes a rare error in the pipeline.

Also, some formatting fixes

@jsdillon jsdillon requested a review from mwilensky768 October 24, 2024 21:34
dres = dmatr.reshape(Nchunk, chunk_size, Nmodes)
wres = tavg_weights.reshape(Nchunk, chunk_size, Nfreqs)
wres = tavg_weights.reshape(Nchunk, chunk_size, Nfreqs).astype(complex)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only substantive change

Copy link

@mwilensky768 mwilensky768 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks!

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.19%. Comparing base (5b982b0) to head (3a57ed8).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #980   +/-   ##
=======================================
  Coverage   97.19%   97.19%           
=======================================
  Files          31       31           
  Lines       11141    11141           
=======================================
  Hits        10829    10829           
  Misses        312      312           
Flag Coverage Δ
unittests 97.19% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jsdillon jsdillon merged commit 7544b60 into main Oct 24, 2024
9 checks passed
@jsdillon jsdillon deleted the complex_wres branch October 24, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants