Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Fix missing line in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Nov 6, 2019
1 parent 22bd526 commit 9a58eb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpyquickhelper/numbers/cbenchmark_dot.cpp
Expand Up @@ -361,6 +361,7 @@ float vector_dot_product_pointer16(const float *p1, const float *p2, size_t size
for(; i < size_; i += BYN, p1 += BYN, p2 += BYN)
sum += vector_dot_product_pointer16(p1, p2);
}
size -= i;
for(; size > 0; ++p1, ++p2, --size)
sum += *p1 * *p2;
return sum;
Expand Down Expand Up @@ -487,6 +488,7 @@ float vector_dot_product_pointer16_sse(const float *p1, const float *p2, size_t
for(; i < size_; i += BYN, p1 += BYN, p2 += BYN)
sum += vector_dot_product_pointer16_sse(p1, p2);
}
size -= i;
for(; size > 0; ++p1, ++p2, --size)
sum += *p1 * *p2;
return sum;
Expand Down

0 comments on commit 9a58eb4

Please sign in to comment.