[PLAT-6703] Change w[i] = 1.0 / dx[i] / dx[i + 1] / (dx[i] + dx[i + 1]); to w[i] = 1.0 / (dx[i] * dx[i + 1] * (dx[i] + dx[i + 1]));