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

group varying factor levels fixed #3906

Merged
merged 3 commits into from
Sep 24, 2019
Merged

group varying factor levels fixed #3906

merged 3 commits into from
Sep 24, 2019

Conversation

mattdowle
Copy link
Member

Closes #2199
Closes #2522

@mattdowle mattdowle added this to the 1.12.4 milestone Sep 24, 2019
@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #3906 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3906      +/-   ##
==========================================
+ Coverage   99.42%   99.43%   +<.01%     
==========================================
  Files          72       72              
  Lines       13502    13548      +46     
==========================================
+ Hits        13425    13471      +46     
  Misses         77       77
Impacted Files Coverage Δ
src/assign.c 100% <100%> (ø) ⬆️
src/dogroups.c 96.96% <100%> (-0.01%) ⬇️

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 d99b8ae...0569fcf. Read the comment docs.

const bool sourceIsFactor=isFactor(source), targetIsFactor=isFactor(target);
if (sourceIsFactor && targetIsFactor) {
// TODO: ^^ could be || in future; assign is already handling that so leave that for now. Then move more of assign to call here.
if (!sourceIsFactor || !targetIsFactor) {
Copy link
Member

Choose a reason for hiding this comment

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

this is always false, maybe just wrapping into /* ... */ instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

it's there for the future when the todo in that comment is done

Copy link
Member

Choose a reason for hiding this comment

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

make sense, but could be commented out code block too.
would be good to have a followup issue and link it from there

Copy link
Member Author

Choose a reason for hiding this comment

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

It could be but I'd prefer not to. Ok?

Copy link
Member Author

Choose a reason for hiding this comment

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

Of all the lines in this PR, this is the least significant to pick up on.

@mattdowle mattdowle merged commit ed2da2f into master Sep 24, 2019
@mattdowle mattdowle deleted the melt_factor branch September 24, 2019 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants