-
Notifications
You must be signed in to change notification settings - Fork 18
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
rename i and j in power transformer transform & inverse transform #444
rename i and j in power transformer transform & inverse transform #444
Conversation
Sorry about yet another PR but I had to do this before I forget about it. |
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #444 +/- ##
==========================================
- Coverage 87.90% 81.94% -5.96%
==========================================
Files 40 44 +4
Lines 1745 1939 +194
==========================================
+ Hits 1534 1589 +55
- Misses 211 350 +139
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge as is because this is definitely a plus. (However, that should eventually be rewritten (I don't like the "iterate over rows of the array approach" & this can maybe be vectorized).)
Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com>
…SMER-group#444) * rename i and j to gridcell and year for readability and some commentary --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com>
Renamed i and j indexes to gridcell and year for better readability in
PowerTransformerVariableLambda.transform()
andinverse_transform
.