Skip to content

Commit

Permalink
Remove unnecessary lines in math/pri
Browse files Browse the repository at this point in the history
  • Loading branch information
agievich committed Jun 14, 2024
1 parent a33c85e commit b31179d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/math/pri.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\brief Prime numbers
\project bee2 [cryptographic library]
\created 2012.08.13
\version 2024.02.28
\version 2024.06.14
\copyright The Bee2 authors
\license Licensed under the Apache License, Version 2.0 (see LICENSE.txt).
*******************************************************************************
Expand Down Expand Up @@ -426,7 +426,6 @@ bool_t priIsSieved(const word a[], size_t n, size_t base_count, void* stack)
--base_count;
// раскладка stack
mods = (word*)stack;
stack = mods + base_count;
// найти остатки
priBaseMod(mods, a, n, base_count);
// есть нулевые остатки?
Expand All @@ -448,7 +447,6 @@ bool_t priIsSmooth(const word a[], size_t n, size_t base_count, void* stack)
register word mod;
// переменные в stack
word* t = (word*)stack;
stack = t + n;
// pre
ASSERT(base_count <= priBaseSize());
// t <- a
Expand Down

0 comments on commit b31179d

Please sign in to comment.