fixed probelm with interpolation of rectangular pixels

This commit is contained in:
2019-12-10 11:10:58 +01:00
parent 545684c8e3
commit 27f2321d64
3 changed files with 7 additions and 10 deletions

View File

@ -195,11 +195,11 @@ class eta2InterpolationBase : public virtual etaInterpolationBase {
ex=nbetaX-1;
}
if (ey<0) {
cout << "y*"<< ey << endl;
cout << "y*"<< ey << " " << nbetaY << endl;
ey=0;
}
if (ey>=nbetaY) {
cout << "y?"<< ey << endl;
cout << "y?"<< ey << " " << nbetaY << endl;
ey=nbetaY-1;
}