Skip to content
Snippets Groups Projects
Commit 22667bec authored by Patrick Meidl's avatar Patrick Meidl
Browse files

minor simplification

parent e77208c8
No related branches found
No related tags found
No related merge requests found
......@@ -136,9 +136,10 @@ while (<FILE>) {
# 3. the projection doesn't have the same length as the original
# feature
next unless (@segments);
next if (scalar(@segments) > 1);
# this tests for (1) and (2)
next unless (scalar(@segments) == 1);
# test (3)
my $proj_slice = $segments[0]->to_Slice;
next unless ($feat->length == $proj_slice->length);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment