mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
minor fixes (#708)
This commit is contained in:
@ -298,8 +298,8 @@ template <class dataType> class analogDetector {
|
||||
if (gmap)
|
||||
delete[] gmap;
|
||||
gmap = new double[nnx * nny];
|
||||
for (iy = 0; iy < nny; ++iy) {
|
||||
for (ix = 0; ix < nnx; ++ix) {
|
||||
for (iy = 0; iy < static_cast<int>(nny); ++iy) {
|
||||
for (ix = 0; ix < static_cast<int>(nnx); ++ix) {
|
||||
gmap[iy * nnx + ix] = gm[iy * nnx + ix];
|
||||
// cout << gmap[iy*nnx+ix] << " " ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user