Skip to content

Commit

Permalink
BUG: fix rtk::ImportImageFilter test which used uninitialized values
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Rit committed Oct 23, 2020
1 parent 51973d4 commit a82c134
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/rtkimporttest.cxx
Expand Up @@ -90,10 +90,10 @@ main(int, char **)
// Initializing values
for (unsigned int i = 0; i < 10 * 10; i++)
{
vec_uint_2d[i] += i;
vec_int_2d[i] += i;
vec_float_2d[i] += i * 1.01f;
vec_double_2d[i] += i * 1.01;
vec_uint_2d[i] = i;
vec_int_2d[i] = i;
vec_float_2d[i] = i * 1.01f;
vec_double_2d[i] = i * 1.01;
}

std::cout << "\n\n****** Case 1: unsigned short ******" << std::endl;
Expand Down

0 comments on commit a82c134

Please sign in to comment.