From 6aa9ac839174925200e2db60a683c4ed31525ac4 Mon Sep 17 00:00:00 2001 From: Micka <9810050+lowener@users.noreply.github.com> Date: Tue, 29 Mar 2022 01:26:44 +0200 Subject: [PATCH] Fix make_device_vector_view (#595) Small typo fix. Authors: - Micka (https://github.com/lowener) Approvers: - Corey J. Nolet (https://github.com/cjnolet) - Jiaming Yuan (https://github.com/trivialfis) URL: https://github.com/rapidsai/raft/pull/595 --- cpp/include/raft/mdarray.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/raft/mdarray.hpp b/cpp/include/raft/mdarray.hpp index f92a0e5e59..7c3a1a02fa 100644 --- a/cpp/include/raft/mdarray.hpp +++ b/cpp/include/raft/mdarray.hpp @@ -482,7 +482,7 @@ template auto make_host_vector_view(ElementType* ptr, size_t n) { detail::vector_extent extents{n}; - return host_matrix_view{ptr, extents}; + return host_vector_view{ptr, extents}; } /** @@ -496,7 +496,7 @@ template auto make_device_vector_view(ElementType* ptr, size_t n) { detail::vector_extent extents{n}; - return device_matrix_view{ptr, extents}; + return device_vector_view{ptr, extents}; } /**