aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2019-03-02 00:37:38 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2019-03-02 00:37:38 +0800
commit5236952bfd715cee41a9d1f739bf97693ca4ce53 (patch)
tree232a4f956c2add959d109d4aef55b77bb81e6fed
parent51ae7d86e93931c7d6fddf0b38d1128a0906e9d7 (diff)
downloadtangerine-mcl-5236952bfd715cee41a9d1f739bf97693ca4ce53.tar.gz
tangerine-mcl-5236952bfd715cee41a9d1f739bf97693ca4ce53.tar.zst
tangerine-mcl-5236952bfd715cee41a9d1f739bf97693ca4ce53.zip
set xi_a for Fp::init
-rw-r--r--sample/rawbench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/rawbench.cpp b/sample/rawbench.cpp
index 2372b74..4d7506e 100644
--- a/sample/rawbench.cpp
+++ b/sample/rawbench.cpp
@@ -25,7 +25,7 @@ void mul9(const mcl::fp::Op& op, Unit *y, const Unit *x, const Unit *p)
void benchRaw(const char *p, mcl::fp::Mode mode)
{
- Fp::init(p, mode);
+ Fp::init(1, p, mode);
Fp2::init();
const size_t maxN = sizeof(Fp) / sizeof(Unit);
const mcl::fp::Op& op = Fp::getOp();