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

Revert "[common.vector] fix warning"

This reverts commit eb86eee984198069e4c120d8329990b9cf9ae9ac.
parent 9f1ad778
No related branches found
No related tags found
Loading
......@@ -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();
return VectorType(sz);
}
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