]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix the same kind of bug in SparsityPattern::exist that was previously fixed in Spars...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 May 2011 22:07:07 +0000 (22:07 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 May 2011 22:07:07 +0000 (22:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@23748 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/source/lac/trilinos_sparsity_pattern.cc

index 5921af27c520e20298c078624e900f215822bacf..25e57f3de34de7a036eb69a951e36e7450a42c97 100644 (file)
@@ -156,9 +156,10 @@ didn't get column indices right. This is now fixed.
 
 <li> Fixed: The TrilinosWrappers::SparseMatrix::operator() and
 TrilinosWrappers::SparseMatrix::el() functions sometimes produced
-wrong results for rectangular matrices. This is now fixed.
+wrong results for rectangular matrices. The same is true for
+TrilinosWrappers::SparsityPattern::exists(). This is now fixed.
 <br>
-(Habib Talavatifard, Wolfgang Bangerth 2011/05/09)
+(Habib Talavatifard, Wolfgang Bangerth 2011/05/09, 2011/05/27)
 
 <li> Changed: DoFTools is now a namespace. It has long been a class that
 had only public, static member functions, making the end result semantically
index b2571ae12055d8d10c53e12ea4996536c209dc5c..b61995d42ba6767346e4cbd7bd0e13d6abd02e37 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -417,7 +417,7 @@ namespace TrilinosWrappers
   {
                                      // Extract local indices in
                                      // the matrix.
-    int trilinos_i = graph->LRID(i), trilinos_j = graph->LRID(j);
+    int trilinos_i = graph->LRID(i), trilinos_j = graph->LCID(j);
 
                                      // If the data is not on the
                                      // present processor, we throw

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.