double derive = (rho[bandMax] - rho[bandMin]) / (auxData.central_wavelength[bandMax][detector] - auxData.central_wavelength[bandMin][detector]);
lh.smileCorrectedRho[bandId] = rho[bandId] + derive * (auxData.theoretical_wavelength[bandId] - auxData.central_wavelength[bandId][detector]);
} else {
lh.smileCorrectedRho[bandId] = rho[bandId];
}
<BUG>}
for (int band_id = 0; band_id < L1_BAND_NUM; band_id++) {
rho[band_id] = lh.smileCorrectedRho[band_id];
}</BUG>
}

double derive = (rho[bandMax] - rho[bandMin]) / (auxData.central_wavelength[bandMax][detector] - auxData.central_wavelength[bandMin][detector]);
lh.smileCorrectedRho[bandId] = rho[bandId] + derive * (auxData.theoretical_wavelength[bandId] - auxData.central_wavelength[bandId][detector]);
} else {
lh.smileCorrectedRho[bandId] = rho[bandId];
}
}
System.arraycopy(lh.smileCorrectedRho, 0, rho, 0, L1_BAND_NUM);
}
