diff --git a/dune/common/test/fvectortest.cc b/dune/common/test/fvectortest.cc index 7c77c4392c639aad63923f28d6ed6bdb2ab4a55e..d582c4d0039129bc179625250943232261209cd1 100644 --- a/dune/common/test/fvectortest.cc +++ b/dune/common/test/fvectortest.cc @@ -32,6 +32,12 @@ struct FieldVectorMainTest std::cout << __func__ << "\t ( " << className(v) << " )" << std::endl; + // test exported types + static_assert( + Dune::is_same<ft,typename FieldVector<ft,d>::value_type>::value, + "FieldVector::value_type is not the correct type" + ); + // test traits static_assert( ( Dune::is_same< typename Dune::FieldTraits<