Skip to content
Snippets Groups Projects
Commit 67fb819b authored by Christian Engwer's avatar Christian Engwer
Browse files

[io][bugfix] fix the template type for std::array specialization

with g++ 6.3 the  specialization for std::array failed, as the integer type
was unsigned int instead of std::size_t
parent a8177e72
No related branches found
No related tags found
1 merge request!88Feature/support mingw
......@@ -599,7 +599,7 @@ namespace Dune {
}
// Recursively print all the blocks -- specialization for std::array
template<class K, unsigned long n>
template<class K, std::size_t n>
void writeVectorToMatlabHelper (const std::array<K,n>& v, std::ostream& s)
{
for (const auto& entry : v)
......
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