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

- fix crash with approx tree method on cpu #4510

Merged
merged 2 commits into from
May 29, 2019
Merged

Conversation

sriramch
Copy link
Contributor

@sriramch sriramch commented May 28, 2019

fix crash with approx tree method on cpu when training is enabled with external memory

@trivialfis - please review

@trivialfis trivialfis self-requested a review May 28, 2019 17:29
@@ -52,4 +53,15 @@ TEST(SparsePage, PushCSC) {
ASSERT_EQ(inst[i].index, indices_sol[i % 3]);
}
}

TEST(SparsePage, PushCSCAfterTranspose) {
Copy link
Member

Choose a reason for hiding this comment

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

Can we have specific expected results other than not crashing in this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i have modified the test. please check now...

Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

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

Thanks for the fix. LGTM.

@sriramch
Copy link
Contributor Author

@trivialfis thanks for your review. can you merge once the build passes? i need this for my tests

@trivialfis trivialfis merged commit 6e16900 into dmlc:master May 29, 2019
@sriramch sriramch deleted the cpuapprox branch June 27, 2019 18:58
@lock lock bot locked as resolved and limited conversation to collaborators Sep 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants