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

Make weights array handling more robust #166

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

stephenworsley
Copy link
Contributor

With scipy.sparse now offering arrays as well as matrices, the code ought to be improved so that it can work with either matrices or arrays representing the weights, especially since precomputed weights could potentially be given in either form. This also clarifies in the code where matrix multiplication is happening rather than array multiplication.

@codecov
Copy link

codecov bot commented Mar 24, 2022

Codecov Report

Merging #166 (5a56f39) into main (f97a0bf) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #166   +/-   ##
=======================================
  Coverage   99.51%   99.51%           
=======================================
  Files          27       27           
  Lines        2469     2469           
=======================================
  Hits         2457     2457           
  Misses         12       12           
Impacted Files Coverage Δ
esmf_regrid/esmf_regridder.py 95.08% <100.00%> (ø)
esmf_regrid/experimental/io.py 100.00% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Contributor

@trexfeathers trexfeathers left a comment

Choose a reason for hiding this comment

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

Good catch, thanks @stephenworsley

@trexfeathers trexfeathers merged commit 054f5ea into SciTools:main Mar 29, 2022
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