aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/mp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-03 00:37:43 -0400
committerJack Lloyd <[email protected]>2017-10-03 00:37:43 -0400
commit180540de74c58a72492692f58b63f32647e80bd8 (patch)
tree9009e260b21d1e3b0b739f58ca831b7395136327 /src/lib/math/mp
parente4eaf414973f65c4e36a34a7b19f1cc20fe93f8a (diff)
Remove redundant parens
Sonar
Diffstat (limited to 'src/lib/math/mp')
-rw-r--r--src/lib/math/mp/mp_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/mp/mp_core.cpp b/src/lib/math/mp/mp_core.cpp
index 40e45bc12..4ed61ac38 100644
--- a/src/lib/math/mp/mp_core.cpp
+++ b/src/lib/math/mp/mp_core.cpp
@@ -147,7 +147,7 @@ void bigint_add2(word x[], size_t x_size, const word y[], size_t y_size)
void bigint_add3(word z[], const word x[], size_t x_size,
const word y[], size_t y_size)
{
- z[(x_size > y_size ? x_size : y_size)] +=
+ z[x_size > y_size ? x_size : y_size] +=
bigint_add3_nc(z, x, x_size, y, y_size);
}