| # | Line 89 | Line 89 | fcLinearMapping(FCstruct *fcs, TMstruct *tms, double p | |
|---|---|---|
| 89 | (0 > pctile) | (pctile >= 50)) | |
| 90 | return(TM_E_ILLEGAL); | |
| 91 | i = HISTI(tms->hbrmin); | |
| 92 | < | brt0 = MINBRT + HISTEP/2 + i*HISTEP; |
| 92 | > | brt0 = HISTV(i); |
| 93 | histlen = HISTI(tms->hbrmax) + 1 - i; | |
| 94 | histot = 0; | |
| 95 | for (i = histlen; i--; ) | |
| # | Line 115 | Line 115 | fcLogMapping(FCstruct *fcs, TMstruct *tms, double pcti | |
| 115 | (.0 > pctile) | (pctile >= 50.)) | |
| 116 | return(TM_E_ILLEGAL); | |
| 117 | i = HISTI(tms->hbrmin); | |
| 118 | < | brt0 = MINBRT + HISTEP/2 + i*HISTEP; |
| 118 | > | brt0 = HISTV(i); |
| 119 | histlen = HISTI(tms->hbrmax) + 1 - i; | |
| 120 | histot = 0; | |
| 121 | for (i = histlen; i--; ) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |