Page MenuHomePhabricator

Fix warnings with Visual Studio 2019 v16.8
Closed, ResolvedPublic

Description

The latest compiler detected possible divisions by zero and indeed the itk::ExtendedLabelStatisticsImageFilter (part of our repo) returns for most statistics functions made up "default" values if the input label does not exist. This is obviously a pretty bad idea and we should go for exceptions here instead.