Fix mingw build with R. (#5918)

This commit is contained in:
Jiaming Yuan
2020-07-22 02:56:49 +08:00
committed by GitHub
parent 8d7702766a
commit 9b688aca3b
2 changed files with 10 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ TEST(GPUPredictor, ExternalMemoryTest) {
gpu_predictor->Configure({});
LearnerModelParam param;
param.num_feature = 2;
param.num_feature = 5;
const int n_classes = 3;
param.num_output_group = n_classes;
param.base_score = 0.5;