Skip to content

Commit

Permalink
STYLE: Use correct type for boolean expressions
Browse files Browse the repository at this point in the history
The testFailed flag is clearly a boolean value.
  • Loading branch information
hjmjohnson authored and N-Dekker committed Nov 12, 2021
1 parent 536bb1b commit b379d1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ itkBSplineInterpolationWeightFunctionTest(int, char *[])
IndexType startIndex1;
IndexType startIndex2;

double testFailed = false;
bool testFailed = false;

for (double x = 0.0; x <= 2.0; x += 0.1)
{
Expand Down Expand Up @@ -154,7 +154,7 @@ itkBSplineInterpolationWeightFunctionTest(int, char *[])
IndexType startIndex1;
IndexType startIndex2;

double testFailed = false;
bool testFailed = false;

for (double x = 0.0; x <= 2.0; x += 0.1)
{
Expand Down

0 comments on commit b379d1c

Please sign in to comment.