Page MenuHomePhabricator

DistanceFilter test needs updated Testing Data
Closed, ResolvedPublic

Description

Clang compiled about using abs on double values.
Fixing this to std::fabs causes the CreateDistanceImageFromSurfaceFilter to fail.
temporary fix:

if ( (int)(std::fabs(distance)) <= m_DistanceImageSpacing )

the cast to (int) needs to be removed, and the testing data repo updated to prevent a locked dashboard.

Event Timeline

User webechr has pushed new remote branch:

bug-18308-FixCast

[e92afa]: Merge branch 'bug-18308-FixCast'

Merged commits:

2014-10-22 15:24:03 Christian Weber [3e6bbd]
correct tag


2014-10-22 15:21:17 Christian Weber [3ef29f]
set revision tag


2014-10-22 15:12:03 Christian Weber [3e6291]
remove cast to int