if (rtosa_oos > thresh_absd_log_rtosa) {
rtosa_oos_flag = true; // set flag if ratios outside thresholds
}
flags = BitSetter.setFlag(flags, FLAG_INDEX_RTOSA_OOS, rtosa_oos_flag);
rpath_nn = new double[0];
<BUG>if (outputRpath) {
double[] log_rpath_nn = nn_rtosa_rpath.get().calc(nn_in);</BUG>
rpath_nn = a_exp(log_rpath_nn);
}
transd_nn = new double[0];

if (rtosa_oos > thresh_absd_log_rtosa) {
rtosa_oos_flag = true; // set flag if ratios outside thresholds
}
flags = BitSetter.setFlag(flags, FLAG_INDEX_RTOSA_OOS, rtosa_oos_flag);
rpath_nn = new double[0];
if (outputRpath || deriveRwFromPathAndTransmittance) {
double[] log_rpath_nn = nn_rtosa_rpath.get().calc(nn_in);
rpath_nn = a_exp(log_rpath_nn);
}
transd_nn = new double[0];
