Skip to content
Snippets Groups Projects
Commit 6eaeec93 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: replace and by && for Win32

parent e9f6b955
No related branches found
No related tags found
No related merge requests found
......@@ -70,12 +70,12 @@ int otbChangeNoDataValueFilter(int itkNotUsed(argc),char * itkNotUsed(argv) [])
for(it.GoToBegin();!it.IsAtEnd();++it,++count)
{
if (count%2 == 0 and it.Get()!=-20.)
if (count%2 == 0 && it.Get()!=-20.)
{
std::cerr<<"Pixel should have new no-data value"<<std::endl;
failed = true;
}
else if(count%2 == 1 and it.Get()!=10.)
else if(count%2 == 1 && it.Get()!=10.)
{
std::cerr<<"Pixel value should be unchanged"<<std::endl;
failed = true;
......
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