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());
|
||||
auto i = mRange->begin();
|
||||
SizeT j = 0;
|
||||
for(const auto& p: mParts){
|
||||
meta[j++] = *(i = p);
|
||||
for(SizeT j = 0; j != meta.size(); ++j){
|
||||
meta[j] = *(i = mParts[j]);
|
||||
}
|
||||
return URangeFactory<MetaType>( meta ).create();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue