Commit 5ba8e40a authored by Alexander Alekhin's avatar Alexander Alekhin

surface_matching: fix infinite loop, whitespace issues

parent 11c90ea2
...@@ -121,7 +121,7 @@ Mat loadPLYSimple(const char* fileName, int withNormals) ...@@ -121,7 +121,7 @@ Mat loadPLYSimple(const char* fileName, int withNormals)
{ {
float* data = cloud.ptr<float>(i); float* data = cloud.ptr<float>(i);
int col = 0; int col = 0;
for (; col < withNormals ? 6 : 3; ++col) for (; col < (withNormals ? 6 : 3); ++col)
{ {
ifs >> data[col]; ifs >> data[col];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment