mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-10 00:38:43 +01:00
fixed probelm with interpolation of rectangular pixels
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user