From dfb3ccb72bb785c90f8d2c7a1131821bce514166 Mon Sep 17 00:00:00 2001 From: Kjetil Olsen Lye Date: Wed, 31 May 2023 13:14:37 +0200 Subject: [PATCH] Typo in variable name. --- opm/simulators/linalg/cuistl/CuSeqILU0.cpp | 4 ++-- opm/simulators/linalg/cuistl/CuSeqILU0.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/simulators/linalg/cuistl/CuSeqILU0.cpp b/opm/simulators/linalg/cuistl/CuSeqILU0.cpp index fb01a3e6a..63466fdfa 100644 --- a/opm/simulators/linalg/cuistl/CuSeqILU0.cpp +++ b/opm/simulators/linalg/cuistl/CuSeqILU0.cpp @@ -221,7 +221,7 @@ CuSeqILU0::analyzeMatrix() m_infoU.get(), CUSPARSE_SOLVE_POLICY_USE_LEVEL, m_buffer->data())); - m_analyzisDone = true; + m_analysisDone = true; } template @@ -293,7 +293,7 @@ void CuSeqILU0::createILU() { OPM_ERROR_IF(!m_buffer, "Buffer not initialized. Call findBufferSize() then initialize with the appropiate size."); - OPM_ERROR_IF(!m_analyzisDone, "Analyzis of matrix not done. Call analyzeMatrix() first."); + OPM_ERROR_IF(!m_analysisDone, "Analyzis of matrix not done. Call analyzeMatrix() first."); const auto numberOfRows = detail::to_int(m_LU.N()); const auto numberOfNonzeroBlocks = detail::to_int(m_LU.nonzeroes()); diff --git a/opm/simulators/linalg/cuistl/CuSeqILU0.hpp b/opm/simulators/linalg/cuistl/CuSeqILU0.hpp index 51b49c2c5..a33d11d56 100644 --- a/opm/simulators/linalg/cuistl/CuSeqILU0.hpp +++ b/opm/simulators/linalg/cuistl/CuSeqILU0.hpp @@ -120,7 +120,7 @@ private: std::unique_ptr> m_buffer; detail::CuSparseHandle& m_cuSparseHandle; - bool m_analyzisDone = false; + bool m_analysisDone = false; void analyzeMatrix(); size_t findBufferSize();