Skip to content
Snippets Groups Projects
Commit 0acd836b authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[common.vector] fix warning

parent d898adbd
No related branches found
No related tags found
No related merge requests found
......@@ -142,9 +142,9 @@ struct VectorAbstraction<Dune::Stuff::Common::FieldVector<K, SIZE>>
static const size_t static_size = SIZE;
static inline VectorType create(const size_t sz)
static inline VectorType create(const size_t /*sz*/)
{
return VectorType(sz);
return VectorType();
}
static inline VectorType create(const size_t sz, const ScalarType& val)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment