aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/mp/mp_misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/mp/mp_misc.cpp')
-rw-r--r--src/lib/math/mp/mp_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/mp/mp_misc.cpp b/src/lib/math/mp/mp_misc.cpp
index 542b0509e..adf4a0a6b 100644
--- a/src/lib/math/mp/mp_misc.cpp
+++ b/src/lib/math/mp/mp_misc.cpp
@@ -43,7 +43,7 @@ s32bit bigint_cmp(const word x[], size_t x_size,
word bigint_divop(word n1, word n0, word d)
{
if(d == 0)
- throw std::runtime_error("bigint_divop divide by zero");
+ throw Exception("bigint_divop divide by zero");
word high = n1 % d, quotient = 0;