Skip to content
Commit 8d124d16 authored by Matthew Louis's avatar Matthew Louis
Browse files

No need to copy the original points array, there is no case in which we will...

No need to copy the original points array, there is no case in which we will use the original points array over the filtered points array. If there is an error when filtering, it is generally becasue there is a problem with the region (i.e. that it consists of mostly/only extraneous points) and so we exclude it from the plot anyways. Doing this allows us to save memory, albeit not that much. Also Fixed break statement in a for loop that can lead to the max(fractional_area_decreases, ...) being undefined, particularly if the exception occurs on the first boundary vertex
parent 6fdfa7a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment