Skip to content

Commit 4b40b9d

Browse files
authored
Merge pull request InsightSoftwareConsortium#5827 from blowekamp/fix-cdash-build-errors-feb24
BUG: Fix CDash build errors from Feb 24 nightly builds
2 parents 1b4a713 + b6c3274 commit 4b40b9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/Core/Transform/test/itkTransformGeometryImageFilterTest.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
inline bool
3333
Validate(double input, double desired, double tolerance)
3434
{
35-
return std::abs<double>(input - desired) > tolerance * std::abs<double>(desired);
35+
return std::fabs(input - desired) > tolerance * std::fabs(desired);
3636
}
3737

3838
// Returns true if images are different

Modules/Filtering/ImageFeature/include/itkMaskFeaturePointSelectionFilter.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ MaskFeaturePointSelectionFilter<TImage, TMask, TFeatures>::GenerateData()
196196
const double meanOfSquares = sumOfSquares.GetSum() / numPixelsInNeighborhood;
197197

198198
const double variance = meanOfSquares - squaredMean;
199-
using PairType = MultiMapType::value_type;
199+
using PairType = typename MultiMapType::value_type;
200200

201201
// we only insert blocks with variance > 0
202202
if (itk::NumericTraits<double>::IsPositive(variance))

0 commit comments

Comments
 (0)