From 7f2d3ed312f0242fc72c9fb17077802b0cf4fd15 Mon Sep 17 00:00:00 2001 From: Mickael Ide Date: Mon, 28 Mar 2022 18:17:51 +0200 Subject: [PATCH] Fix make_device_vector_view --- 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}; } /**