From: Martin Kronbichler Date: Fri, 22 Aug 2008 15:27:26 +0000 (+0000) Subject: Corrected an access error to vector components using the () operator. X-Git-Tag: v8.0.0~8792 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41b20d08bff1173d671db43fec312d80af97fa33;p=dealii.git Corrected an access error to vector components using the () operator. git-svn-id: https://svn.dealii.org/trunk@16652 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/trilinos_vector.cc b/deal.II/lac/source/trilinos_vector.cc index 4cabc899b8..c8c047f5dc 100755 --- a/deal.II/lac/source/trilinos_vector.cc +++ b/deal.II/lac/source/trilinos_vector.cc @@ -39,7 +39,8 @@ namespace TrilinosWrappers (static_cast(index) <= vector.map.MaxMyGID()), ExcAccessToNonLocalElement (index, vector.map.MinMyGID(), vector.map.MaxMyGID()-1)); - return *(*(vector.vector))[index]; + + return (*(vector.vector))[0][index]; } }