}
for (i = 0; i < nodes_input; i++) {
</BUG>
if (input_scale_flag[i] == -1) {
<BUG>in[i] = (float) Math.log((double) in[i]);
}</BUG>
if (input_scale_flag[i] == -2) {
<BUG>in[i] = (float) Math.exp((double) in[i]);
}
}
for (i = 0; i < nodes_input; i++) {</BUG>
in[i] = (float) input_scale_offset_factors[i] + (in[i] - (float) input_intercept_and_slope[i][0]) / (float) input_intercept_and_slope[i][1];

}
}
for (int i = 0; i < nodes_input; i++) {
if (input_scale_flag[i] == -1) {
in[i] = (float) Math.log(in[i]);
