Skip to content
Snippets Groups Projects
Commit 3e7484d4 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: replace and by && in if statement

parent bd8b1377
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ public:
otbGenericExceptionMacro(MissingMetadataException,<<"Bad metadata vector element in '"<<path<<"', got :"<<part)
}
}
if ((size >= 0) and (output.size() != (size_t)size))
if ((size >= 0) && (output.size() != (size_t)size))
{
otbGenericExceptionMacro(MissingMetadataException,<<"Bad number of elements in vector '"<<path<<"', expected "<<size<< ", got "<<output.size())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment