Skip to content

Commit

Permalink
Check for empty PointView in ELM filter
Browse files Browse the repository at this point in the history
  • Loading branch information
chambbj committed Feb 10, 2020
1 parent b24899d commit 7bc5a05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filters/ELMFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ void ELMFilter::addDimensions(PointLayoutPtr layout)

void ELMFilter::filter(PointView& view)
{
if (!view.size())
return;

BOX2D bounds;
calculateBounds(view, bounds);

Expand Down

0 comments on commit 7bc5a05

Please sign in to comment.