]> https://gitweb.dealii.org/ - dealii.git/commitdiff
cppcheck: Match variable names in the header and source.
authorDavid Wells <drwells@email.unc.edu>
Mon, 13 May 2019 17:25:14 +0000 (13:25 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 13 May 2019 19:56:35 +0000 (15:56 -0400)
source/lac/trilinos_sparse_matrix.cc

index d87c7e88c18b57aeecd2d289408fbe3d5ffc170c..b48e6c60460a4144a8d78585cb4b52c6a042b71d 100644 (file)
@@ -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;
       }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.