single range: fix cmeta size for vector case

This commit is contained in:
Christian Zimmermann 2019-09-03 19:34:20 +02:00
parent 5f694c9103
commit 1f459ea2b5

View file

@ -641,7 +641,7 @@ namespace MultiArrayTools
template <typename U, SpaceType TYPE, size_t S>
size_t GenSingleRange<U,TYPE,S>::cmetaSize() const
{
return ToCMeta<U>::size(mSpace[0])*sizeof(U);
return ToCMeta<U>::size(mSpace[0])*sizeof(U)
}
template <typename U, SpaceType TYPE, size_t S>