clang fixes
parent
d4992db94b
commit
22c69a4ec0
|
@ -98,7 +98,7 @@ GDALAccessor::getStream (char * dataLine, int & numEl)
|
|||
int ypos0 = LastPosition / LineWidth;
|
||||
int xpos0 = LastPosition % LineWidth;
|
||||
LastPosition += numEl;
|
||||
int ypos1 = (LastPosition - 1) / LineWidth;
|
||||
int ypos1 = (LastPosition - std::streampos(1)) / LineWidth;
|
||||
if (LastPosition * SizeV >= FileSize)
|
||||
{
|
||||
numEl -= LastPosition % LineWidth;
|
||||
|
|
|
@ -145,7 +145,7 @@ PyObject * cpxlooks_C(PyObject* self, PyObject* args)
|
|||
}
|
||||
for(int j = 0; j < na; ++j)
|
||||
{
|
||||
b[j] = b[j] + a[j]*pow(pha,j+1)*pow(phd,lineToGet);
|
||||
b[j] = b[j] + a[j]*pow(pha,j+1.0f)*pow(phd,lineToGet*1.0f);
|
||||
}
|
||||
}
|
||||
if(eofReached)
|
||||
|
|
Loading…
Reference in New Issue