1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Solved issue 24044

This commit is contained in:
unknown
2023-08-04 21:57:22 +02:00
parent 2ff16d4c45
commit 87b7ce4415
+1 -1
View File
@@ -425,7 +425,7 @@ public:
dtype* p_dst = dst.ptr<dtype>();
size_t main_index = start / last_unreduced_dim;
size_t loop = start / last_unreduced_dim;
size_t loop = start % last_unreduced_dim;
size_t origin = unprojected_steps[main_index] + loop * last_unreduced_step;
for (int i = start; i < end; ++i) {
Op accumulator(n_reduce, p_src[origin + projected_steps[0]]);