From 385347a063b0fffa519d87186ac7f934682278e3 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 18 Aug 2018 23:34:34 +0200 Subject: [PATCH] Change CUDAWrappers::size_type to int --- include/deal.II/lac/cuda_sparse_matrix.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/deal.II/lac/cuda_sparse_matrix.h b/include/deal.II/lac/cuda_sparse_matrix.h index 51cf57d2fb..8c82c43046 100644 --- a/include/deal.II/lac/cuda_sparse_matrix.h +++ b/include/deal.II/lac/cuda_sparse_matrix.h @@ -51,7 +51,7 @@ namespace CUDAWrappers /** * Declare type for container size. */ - using size_type = unsigned int; + using size_type = int; /** * Type of the matrix entries. @@ -317,7 +317,7 @@ namespace CUDAWrappers template - inline unsigned int + inline SparseMatrix::size_type SparseMatrix::m() const { return n_rows; @@ -326,7 +326,7 @@ namespace CUDAWrappers template - inline unsigned int + inline SparseMatrix::size_type SparseMatrix::n() const { return n_cols; -- 2.39.5