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

Add google test for a column sampling, restore metainfo tests #3637

Merged
merged 3 commits into from
Aug 28, 2018

Conversation

RAMitchell
Copy link
Member

Some meta infotests were accidentally removed in a previous commit due to failures with some Windows compilers.

0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
};
const std::vector<xgboost::Entry> expected_data{
xgboost::Entry(1, 1), xgboost::Entry(2, 1), xgboost::Entry(3, 0),
Copy link
Collaborator

Choose a reason for hiding this comment

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

So using {1, 1} to initialize xgboost::Entry fails MSVC?

Copy link
Member Author

Choose a reason for hiding this comment

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

The initialisation type is ambiguous according to visual studio 2015.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it. Thanks for the fix!

@RAMitchell RAMitchell merged commit 78bea0d into dmlc:master Aug 28, 2018
CodingCat pushed a commit to CodingCat/xgboost that referenced this pull request Sep 18, 2018
)

* Add google test for a column sampling, restore metainfo tests

* Update metainfo test for visual studio

* Fix multi-GPU bug introduced in dmlc#3635
@lock lock bot locked as resolved and limited conversation to collaborators Nov 26, 2018
@RAMitchell RAMitchell deleted the update-gtests branch December 6, 2018 19:44
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