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

Use cached_property for some simple members of metric. #310

Merged
merged 1 commit into from
May 6, 2020

Conversation

eric-wieser
Copy link
Member

Also deprecate Metric.derivatives_of_g, which does nothing any more.

Split from gh-252

Also deprecate `Metric.derivatives_of_g`, which does nothing any more.
@eric-wieser eric-wieser requested a review from utensil May 6, 2020 10:25
@codecov
Copy link

codecov bot commented May 6, 2020

Codecov Report

Merging #310 into master will decrease coverage by 0.00%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #310      +/-   ##
==========================================
- Coverage   72.54%   72.54%   -0.01%     
==========================================
  Files          13       13              
  Lines        4397     4400       +3     
==========================================
+ Hits         3190     3192       +2     
- Misses       1207     1208       +1     
Impacted Files Coverage Δ
galgebra/metric.py 75.97% <88.88%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9b9f14...0e73ab3. Read the comment docs.

@eric-wieser eric-wieser added the ✓ soft CI failure PRs which fail quality but not test CIs label May 6, 2020
Copy link
Member

@utensil utensil left a comment

Choose a reason for hiding this comment

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

Haha, I added this method.

@utensil utensil merged commit 8aff51f into pygae:master May 6, 2020
@eric-wieser eric-wieser deleted the metric-cached_property branch May 15, 2020 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✓ soft CI failure PRs which fail quality but not test CIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants