aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-11-05 12:45:45 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-11-05 12:45:45 +0800
commiteebd088afdba1816e493db50369d2bedbf31b7e1 (patch)
tree48b0d1819dcca0ec841b93f59e972754aa7d27cb
parent59b61f77ef76f5296a747f4eb500566feb774074 (diff)
downloadtangerine-mcl-eebd088afdba1816e493db50369d2bedbf31b7e1.tar.gz
tangerine-mcl-eebd088afdba1816e493db50369d2bedbf31b7e1.tar.zst
tangerine-mcl-eebd088afdba1816e493db50369d2bedbf31b7e1.zip
fix error message
-rw-r--r--include/mcl/fp.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mcl/fp.hpp b/include/mcl/fp.hpp
index dc8dc95..44aab76 100644
--- a/include/mcl/fp.hpp
+++ b/include/mcl/fp.hpp
@@ -579,7 +579,7 @@ public:
{
bool b;
setMpz(&b, x);
- if (!b) throw cybozu::Exception("Fp:setMpz:neg");
+ if (!b) throw cybozu::Exception("Fp:setMpz");
}
uint64_t getUint64() const
{