File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Filtering/MathematicalMorphology Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ void CreateImage(ImageType::Pointer image)
84
84
double rr = r - 100.0 ;
85
85
86
86
// purposely use 270,257 since it is > 255
87
- double v1 = 270.0 - vcl_sqrt ( rr*rr + c1*c1 );
88
- double v2 = 257.0 - vcl_sqrt ( rr*rr + c2*c2 );
87
+ double v1 = 270.0 - std::sqrt ( rr*rr + c1*c1 );
88
+ double v2 = 257.0 - std::sqrt ( rr*rr + c2*c2 );
89
89
90
90
double maxv = v1;
91
91
if ( maxv < v2 ) maxv = v2;
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ void CreateImage(ImageType::Pointer image)
76
76
double rr = r - 100.0 ;
77
77
78
78
// purposely use 270,257 since it is > 255
79
- double v1 = 270.0 - vcl_sqrt ( rr*rr + c1*c1 );
80
- double v2 = 257.0 - vcl_sqrt ( rr*rr + c2*c2 );
79
+ double v1 = 270.0 - std::sqrt ( rr*rr + c1*c1 );
80
+ double v2 = 257.0 - std::sqrt ( rr*rr + c2*c2 );
81
81
82
82
double maxv = v1;
83
83
if ( maxv < v2 ) maxv = v2;
You can’t perform that action at this time.
0 commit comments