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

[bug-fix] avoid paramsSolver::{n_rows,n_cols} shadowing their base class counterparts #4130

Conversation

yitao-li
Copy link
Contributor

This looks to me like a typo, and may be problematic and confusing if the n_rows and n_cols members from the base class instead of the ones from the derived class are accessed.

Signed-off-by: Yitao Li yitao@rstudio.com

Signed-off-by: Yitao Li <yitao@rstudio.com>
@yitao-li yitao-li requested a review from a team as a code owner July 29, 2021 20:57
@yitao-li yitao-li changed the title [BUG] avoid paramsSolver::{n_rows,n_cols} shadowing base class members [bug-fix] avoid paramsSolver::{n_rows,n_cols} shadowing base class members Jul 29, 2021
@GPUtester
Copy link
Contributor

Can one of the admins verify this patch?

@dantegd
Copy link
Member

dantegd commented Jul 29, 2021

ok to test

@yitao-li yitao-li changed the title [bug-fix] avoid paramsSolver::{n_rows,n_cols} shadowing base class members [bug-fix] avoid paramsSolver::{n_rows,n_cols} shadowing their base class counterparts Jul 29, 2021
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.10@fc3929b). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.10    #4130   +/-   ##
===============================================
  Coverage                ?   85.91%           
===============================================
  Files                   ?      232           
  Lines                   ?    18377           
  Branches                ?        0           
===============================================
  Hits                    ?    15788           
  Misses                  ?     2589           
  Partials                ?        0           
Flag Coverage Δ
dask 48.03% <0.00%> (?)
non-dask 78.45% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 fc3929b...09d0fb8. Read the comment docs.

@lowener lowener added breaking Breaking change bug Something isn't working labels Aug 30, 2021
@caryr35 caryr35 added this to PR-WIP in v21.10 Release via automation Sep 8, 2021
@caryr35 caryr35 moved this from PR-WIP to PR-Needs review in v21.10 Release Sep 8, 2021
v21.10 Release automation moved this from PR-Needs review to PR-Reviewer approved Sep 14, 2021
@dantegd
Copy link
Member

dantegd commented Sep 14, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 3a987fe into rapidsai:branch-21.10 Sep 14, 2021
v21.10 Release automation moved this from PR-Reviewer approved to Done Sep 14, 2021
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
…rparts (rapidsai#4130)

This looks to me like a typo, and may be problematic and confusing if the `n_rows` and `n_cols` members from the base class instead of the ones from the derived class are accessed.

Signed-off-by: Yitao Li <yitao@rstudio.com>

Authors:
  - Yitao Li (https://github.com/yitao-li)

Approvers:
  - Micka (https://github.com/lowener)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change bug Something isn't working CUDA/C++
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants