Skip to content

Commit

Permalink
fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jun 23, 2021
1 parent 48f2bea commit 957d778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cpp/predictor/test_predictor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void TestIterationRange(std::string name) {
}

bool bound = false;
auto sliced = learner->Slice(0, 3, 1, &bound);
std::unique_ptr<Learner> sliced {learner->Slice(0, 3, 1, &bound)};
ASSERT_FALSE(bound);

HostDeviceVector<float> out_predt_sliced;
Expand Down

0 comments on commit 957d778

Please sign in to comment.