mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
fix: use output index also for weighting
This commit is contained in:
parent
0f51d9dfef
commit
b040f6d8c4
@ -90,7 +90,7 @@ inverseDistanceWeighting(const std::vector<std::int32_t> &to_calc,
|
||||
// }
|
||||
|
||||
for (int j = 0; j < data_set_n; j++) {
|
||||
key_delta += weights[j] * output[j][key_comp_i];
|
||||
key_delta += weights[j] * output[j][output_comp_i];
|
||||
}
|
||||
|
||||
key_delta /= inv_sum;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user