From: Daniel Arndt Date: Sat, 18 Aug 2018 21:34:34 +0000 (+0200) Subject: Change CUDAWrappers::size_type to int X-Git-Tag: v9.1.0-rc1~799^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385347a063b0fffa519d87186ac7f934682278e3;p=dealii.git Change CUDAWrappers::size_type to int --- 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;