Skip to content

Replace the broken linear_expand(x, mode=False)#165

Merged
utensil merged 1 commit intopygae:masterfrom
eric-wieser:collect_terms
Dec 17, 2019
Merged

Replace the broken linear_expand(x, mode=False)#165
utensil merged 1 commit intopygae:masterfrom
eric-wieser:collect_terms

Conversation

@eric-wieser
Copy link
Member

This introduces a new linear_expand_terms function with the same meaning as the above

The original was incorrect because the early return paths did not respect the mode argument.

By using this function through mv.py, we can remove a line or two from a lot of functions

This introduces a new `linear_expand_terms` function with the same meaning as the above

The original was incorrect because the early return paths did not respect the mode argument.

By using this function through mv.py, we can remove a line or two from a lot of functions
@codecov
Copy link

codecov bot commented Dec 17, 2019

Codecov Report

Merging #165 into master will increase coverage by 0.08%.
The diff coverage is 78.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   67.66%   67.74%   +0.08%     
==========================================
  Files           8        8              
  Lines        4692     4682      -10     
==========================================
- Hits         3175     3172       -3     
+ Misses       1517     1510       -7
Impacted Files Coverage Δ
galgebra/metric.py 74.1% <100%> (+0.06%) ⬆️
galgebra/mv.py 64.39% <71.42%> (+0.19%) ⬆️

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 0dd91d8...6e7a041. Read the comment docs.

@eric-wieser eric-wieser requested a review from utensil December 17, 2019 13:31
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.

👍

@utensil utensil merged commit f5da64f into pygae:master Dec 17, 2019
@utensil utensil added this to the 0.4.5 milestone Dec 18, 2019
@eric-wieser eric-wieser deleted the collect_terms branch December 18, 2019 16:17
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