surface_matching: fix infinite loop, whitespace issues

pull/1413/head
Alexander Alekhin 8 years ago
parent 11c90ea23c
commit 5ba8e40a53
  1. 2
      modules/surface_matching/src/ppf_helpers.cpp

@ -121,7 +121,7 @@ Mat loadPLYSimple(const char* fileName, int withNormals)
{
float* data = cloud.ptr<float>(i);
int col = 0;
for (; col < withNormals ? 6 : 3; ++col)
for (; col < (withNormals ? 6 : 3); ++col)
{
ifs >> data[col];
}

Loading…
Cancel
Save