Skip to content

Commit

Permalink
why this break ?!!
Browse files Browse the repository at this point in the history
  • Loading branch information
alavenant committed Apr 10, 2024
1 parent 518e9bf commit 7e77169
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/filter_radius_search/radius_searchFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,11 @@ void RadiusSearchFilter::filter(PointView& view)
for (PointId id = 0; id < view.size(); ++id)
{
temp.setPointId(id);
temp.setField(m_args->m_dim, int64_t(0));
temp.setField(m_args->m_dim, int64_t(0)); // initialisation

// process only points that satisfy a domain condition
//if (r.valuePasses(temp.getFieldAs<double>(r.m_id)))
if (temp.getFieldAs<int8_t>(m_args->m_dim_ref)>0)
{
refView->appendPoint(view, id);
break;
}
}

for (PointId id = 0; id < view.size(); ++id)
Expand Down

0 comments on commit 7e77169

Please sign in to comment.