From: Daniel Arndt Date: Sun, 14 May 2017 22:56:41 +0000 (+0200) Subject: Remove unused helper function X-Git-Tag: v9.0.0-rc1~1591^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=727c47120ea24c3e2379dd9dfa1ce24eea146168;p=dealii.git Remove unused helper function --- diff --git a/source/lac/trilinos_vector_base.cc b/source/lac/trilinos_vector_base.cc index c4f0a7b979..ec456bf657 100644 --- a/source/lac/trilinos_vector_base.cc +++ b/source/lac/trilinos_vector_base.cc @@ -34,27 +34,6 @@ DEAL_II_NAMESPACE_OPEN namespace TrilinosWrappers { - namespace - { -#ifndef DEAL_II_WITH_64BIT_INDICES - // define a helper function that queries the global vector length of an - // Epetra_FEVector object by calling either the 32- or 64-bit - // function necessary. - int global_length(const Epetra_FEVector &vector) - { - return vector.GlobalLength(); - } -#else - // define a helper function that queries the global vector length of an - // Epetra_FEVector object by calling either the 32- or 64-bit - // function necessary. - long long int global_length(const Epetra_FEVector &vector) - { - return vector.GlobalLength64(); - } -#endif - } - namespace internal { VectorReference::operator TrilinosScalar () const