Skip to content

Closes #2046 and closes #2111. Fixes -ve length vectors issue with GForce#2480

Merged
mattdowle merged 5 commits intomasterfrom
gforce-fix-2046-and-2111
Jan 15, 2018
Merged

Closes #2046 and closes #2111. Fixes -ve length vectors issue with GForce#2480
mattdowle merged 5 commits intomasterfrom
gforce-fix-2046-and-2111

Conversation

@arunsrinivasan
Copy link
Copy Markdown
Member

@arunsrinivasan arunsrinivasan commented Nov 13, 2017

Closes #2046
Closes #2111
Issues related to GForce as explained by @kmillar under #2046 (comment).

Fixed by checking if maxgrpn attribute is NULL and if so, generating it from max(len__). Have written in some detail under the fix too.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 13, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2480      +/-   ##
==========================================
+ Coverage   91.39%   91.39%   +<.01%     
==========================================
  Files          63       63              
  Lines       12097    12101       +4     
==========================================
+ Hits        11056    11060       +4     
  Misses       1041     1041
Impacted Files Coverage Δ
src/gsumm.c 87.93% <100%> (+0.06%) ⬆️

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 0c060fe...8895522. Read the comment docs.

@mattdowle
Copy link
Copy Markdown
Member

Delay merging this one is because it's overlapping with #2474 (attributes of o) and then concentrated on #2488. Getting there ...

@mattdowle mattdowle added this to the v1.10.6 milestone Jan 15, 2018
Copy link
Copy Markdown
Member

@mattdowle mattdowle left a comment

Choose a reason for hiding this comment

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

Moved the fix down to C level to centralize it. Added a double-check to be sure too.

@mattdowle mattdowle merged commit 8394f2f into master Jan 15, 2018
@mattdowle mattdowle deleted the gforce-fix-2046-and-2111 branch January 15, 2018 22:05
@arunsrinivasan
Copy link
Copy Markdown
Member Author

Thanks!

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.

optimized by group gvar() returns error: "negative length vectors are not allowed" when within-group variance is 0 gmedian failing on simple case

3 participants