From a8dd3293071cde566a9d56cb59592d07084bad21 Mon Sep 17 00:00:00 2001 From: Kjetil Olsen Lye Date: Tue, 30 May 2023 10:14:30 +0200 Subject: [PATCH] Typo in documentation. --- opm/simulators/linalg/cuistl/CuSparseMatrix.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/simulators/linalg/cuistl/CuSparseMatrix.hpp b/opm/simulators/linalg/cuistl/CuSparseMatrix.hpp index 1b37f0c8c..d43762255 100644 --- a/opm/simulators/linalg/cuistl/CuSparseMatrix.hpp +++ b/opm/simulators/linalg/cuistl/CuSparseMatrix.hpp @@ -84,7 +84,7 @@ public: * @param matrix the matrix to copy from * @param copyNonZeroElementsDirectly if true will do a memcpy from matrix[0][0][0][0], otherwise will build up the * non-zero elements by looping over the matrix. Note that setting this to true will yield a performance increase, - * but might not always yield correct results depending on how the matrix matrix has been initialized. If unsure, + * but might not always yield correct results depending on how the matrix has been initialized. If unsure, * leave it as false. * @tparam MatrixType is assumed to be a Dune::BCRSMatrix compatible matrix. */ @@ -286,7 +286,7 @@ private: // Notice that we store these three as int to make sure we are cusparse compatible. // - // This gives the added benifit of checking the size constraints at construction of the matrix + // This gives the added benefit of checking the size constraints at construction of the matrix // rather than in some call to cusparse. const int m_numberOfNonzeroBlocks; const int m_numberOfRows;