# | Line 170 | Line 170 | fcIsLogMap(FCstruct *fcs) | |
---|---|---|
170 | if (fcs == NULL || fcs->lumap == NULL) | |
171 | return(-1); | |
172 | ||
173 | < | miderr = fcs->lumap[(fcs->mbrmax - fcs->mbrmin)/2] - |
174 | < | 128L * (fcs->mbrmax - fcs->mbrmin) / |
175 | < | (fcs->mbrmax - fcs->mbrmin + 1); |
173 | > | miderr = (fcs->mbrmax - fcs->mbrmin)/2; |
174 | > | miderr = fcs->lumap[miderr] - |
175 | > | 256L * miderr / (fcs->mbrmax - fcs->mbrmin + 1); |
176 | ||
177 | return((-1 <= miderr) & (miderr <= 1)); | |
178 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |