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

compiler: Add Weights.value utility #2322

Merged
merged 1 commit into from
Feb 28, 2024
Merged

compiler: Add Weights.value utility #2322

merged 1 commit into from
Feb 28, 2024

Conversation

FabioLuporini
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 27.27273% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 86.66%. Comparing base (edd6a2e) to head (3b00540).

Files Patch % Lines
devito/finite_differences/differentiable.py 27.27% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2322      +/-   ##
==========================================
- Coverage   86.67%   86.66%   -0.02%     
==========================================
  Files         229      229              
  Lines       43153    43164      +11     
  Branches     8002     8004       +2     
==========================================
+ Hits        37402    37407       +5     
- Misses       5054     5060       +6     
  Partials      697      697              

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

@@ -732,6 +732,24 @@ def _xreplace(self, rule):
pass
return super()._xreplace(rule)

@cached_property
def _npweights(self):
# NOTE: `self.weights` cannot just be an array or SymPy will fail
Copy link
Contributor

Choose a reason for hiding this comment

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

Break into two sentences? Reads a bit weird

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do in nxt pr

@FabioLuporini FabioLuporini merged commit 65002b6 into master Feb 28, 2024
31 checks passed
@FabioLuporini FabioLuporini deleted the weights-value branch February 28, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants