From dfdfe9d147a80b7dd3d6a7eb59ff5d7e7ac5dced Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Tue, 10 Sep 2024 06:27:57 +0000 Subject: [PATCH] Typo --- cpp/bench/prims/neighbors/knn.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/bench/prims/neighbors/knn.cuh b/cpp/bench/prims/neighbors/knn.cuh index 8dabe5dc46..4a48855a82 100644 --- a/cpp/bench/prims/neighbors/knn.cuh +++ b/cpp/bench/prims/neighbors/knn.cuh @@ -92,7 +92,7 @@ struct device_resource { public: explicit device_resource(bool managed) : managed_(managed ? std::make_shared() : nullptr), - res_(managed ? managed.get() : raft::resource::get_current_device_resource_ref()) + res_(managed ? managed_.get() : raft::resource::get_current_device_resource_ref()) { }