fix regarding previous commit

This commit is contained in:
Christian Zimmermann 2020-10-13 17:06:59 +02:00
parent bc87268810
commit e7fd650922

View file

@ -71,7 +71,7 @@ namespace MultiArrayTools
for((*this) = 0; this->pos() != this->max(); ++(*this)){ for((*this) = 0; this->pos() != this->max(); ++(*this)){
std::string red = this->stringMeta(); std::string red = this->stringMeta();
red.erase(std::remove_if(red.begin(), red.end(), rem), red.end()); red.erase(std::remove_if(red.begin(), red.end(), rem), red.end());
if(this->stringMeta() == smeta){ if(red == redmeta){
break; break;
} }
} }