From 5fd346b27ffb637fd7451c7f17ddc3cec1a9eca0 Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 13 May 2019 13:25:14 -0400 Subject: [PATCH] cppcheck: Match variable names in the header and source. --- source/lac/trilinos_sparse_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index d87c7e88c1..b48e6c6046 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -3043,11 +3043,11 @@ namespace TrilinosWrappers int - TrilinosPayload::ApplyInverse(const VectorType &X, VectorType &Y) const + TrilinosPayload::ApplyInverse(const VectorType &Y, VectorType &X) const { // The transposedness of the operations is taken care of // when we hit the transpose flag. - inv_vmult(Y, X); + inv_vmult(X, Y); return 0; } -- 2.39.5