Skip to content
Snippets Groups Projects
Commit 6c1c560f authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: don't need to check for 'not eof && good'

parent ecdb9806
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ int otbAtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms(int argc, ch
fin >> maxSpectralValue;//wlsup;
//fin.open(wavelenghFiles[i]);
while (!fin.eof() && fin.good())
while (fin.good())
{
fin >> value;
vect.push_back(value);
......
......@@ -131,7 +131,7 @@ int otbRomaniaReflectanceToRomaniaSurfaceReflectanceImageFilter(int argc, char *
fin >> minSpectralValue;//wlinf;
fin >> maxSpectralValue;//wlsup;
while (!fin.eof() && fin.good())
while (fin.good())
{
fin >> value;
vect.push_back(value);
......
......@@ -73,7 +73,7 @@ int SIXSFunctionMainOtbTest( int argc, char *argv[] )
fin >> wlinf;
fin >> wlsup;
while (!fin.eof() && fin.good())
while (fin.good())
{
fin >> value;
vector_wavelenght.push_back(value);
......
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