Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RAMitchell committed Oct 13, 2020
1 parent a97b042 commit e30d343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/device_helpers.cuh
Expand Up @@ -412,7 +412,7 @@ struct XGBDefaultDeviceAllocatorImpl : XGBBaseDeviceAllocator<T> {
using other = XGBDefaultDeviceAllocatorImpl<U>; // NOLINT
};
pointer allocate(size_t n) { // NOLINT
pointer ptr = nullptr;
pointer ptr;
try {
ptr = SuperT::allocate(n);
} catch (const std::exception& e) {
Expand Down

0 comments on commit e30d343

Please sign in to comment.