fix prange derive segfault
This commit is contained in:
parent
d8e814c0d7
commit
defc8d98e0
1 changed files with 2 additions and 3 deletions
|
@ -367,9 +367,8 @@ namespace CNORXZ
|
||||||
{
|
{
|
||||||
Vector<MetaType> meta(this->size());
|
Vector<MetaType> meta(this->size());
|
||||||
auto i = mRange->begin();
|
auto i = mRange->begin();
|
||||||
SizeT j = 0;
|
for(SizeT j = 0; j != meta.size(); ++j){
|
||||||
for(const auto& p: mParts){
|
meta[j] = *(i = mParts[j]);
|
||||||
meta[j++] = *(i = p);
|
|
||||||
}
|
}
|
||||||
return URangeFactory<MetaType>( meta ).create();
|
return URangeFactory<MetaType>( meta ).create();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue