mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 04:48:23 +01:00
fix: use output index also for weighting
This commit is contained in:
parent
f7d8f8751a
commit
52d8b164e6
@ -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