From 24d47a98abf1899d87bca33d98837c540a4cf260 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Mon, 11 Oct 2010 21:53:37 +0000 Subject: [PATCH] revert accidential part of the commit... - FielfVector uses int, not unsigned int [[Imported from SVN: r6168]] --- dune/common/fvector.hh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/dune/common/fvector.hh b/dune/common/fvector.hh index 409f19dbd..89abdf4f6 100644 --- a/dune/common/fvector.hh +++ b/dune/common/fvector.hh @@ -17,9 +17,9 @@ namespace Dune { // forward declaration of template - template<class K, unsigned int SIZE> class FieldVector; + template<class K, int SIZE> class FieldVector; - template<class K, unsigned int SIZE> + template<class K, int SIZE> struct FieldTraits< FieldVector<K,SIZE> > { typedef typename FieldTraits<K>::field_type field_type; @@ -40,7 +40,7 @@ namespace Dune { * \tparam K the field type (use float, double, complex, etc) * \tparam SIZE number of components. */ - template< class K, unsigned int SIZE > + template< class K, int SIZE > class FieldVector : public DenseVector< Dune::array<K,SIZE> > { public: @@ -82,7 +82,7 @@ namespace Dune { * * \returns the input stream (in) */ - template<class K, unsigned int SIZE> + template<class K, int SIZE> inline std::istream &operator>> ( std::istream &in, FieldVector<K, SIZE> &v ) { @@ -94,9 +94,6 @@ namespace Dune { return in; } - // forward declarations - template<class K, int n, int m> class FieldMatrix; - #ifndef DOXYGEN /** \brief Vectors containing only one component */ -- GitLab