remove white space from string meta (multi range)

This commit is contained in:
Christian Zimmermann 2019-04-23 12:47:14 +02:00
parent bd0485ba95
commit 41ca105e82
2 changed files with 2 additions and 2 deletions

View file

@ -610,7 +610,7 @@ namespace MultiArrayTools
{
auto i = begin();
i = pos;
return "[ " + RPackNum<sizeof...(Ranges)-1>::getStringMeta(i) + " ]";
return "[" + RPackNum<sizeof...(Ranges)-1>::getStringMeta(i) + "]";
}
template <class... Ranges>

View file

@ -343,7 +343,7 @@ namespace MultiArrayHelper
template <class MIndex>
static inline std::string getStringMeta(const MIndex& mi)
{
return RPackNum<N-1>::getStringMeta(mi) + " , " + mi.template getPtr<N>()->stringMeta();
return RPackNum<N-1>::getStringMeta(mi) + "," + mi.template getPtr<N>()->stringMeta();
}
template <class... Ranges>