}
if (to_del < this->nodes_.size())
this->nodes_.erase(this->nodes_.begin() + to_del);
- to_del = this->samples_.size();
- #pragma omp parallel for reduction(min: to_del)
- for (i = 0; i < this->samples_.size(); i++) {
- if (this->samples_[i] == tmp)
- to_del = i;
- }
- if (to_del < this->samples_.size())
- this->samples_.erase(this->nodes_.begin() + to_del);
iy = floor(tmp->y() / IYSTEP);
to_del = this->iy_[iy].size();
#pragma omp parallel for reduction(min: to_del)