aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-07-31 22:40:51 +0000
committerlloyd <[email protected]>2012-07-31 22:40:51 +0000
commite74d42c531be30652920f955d7713174f2cb9f7d (patch)
tree7e16ffee7ea986cbca24a0f8aebf01580da94d35 /checks
parent4d1a2462a3c78a94e3c38e2256767766c09ff244 (diff)
Remove BigInt::grow_reg which was only used by a few tests.
Diffstat (limited to 'checks')
-rw-r--r--checks/bigint.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/checks/bigint.cpp b/checks/bigint.cpp
index 86e37cd7b..9df44678d 100644
--- a/checks/bigint.cpp
+++ b/checks/bigint.cpp
@@ -214,8 +214,8 @@ u32bit check_mul(const std::vector<std::string>& args)
which is what we really want to test here (the simple n^2 multiply is
pretty well tested at this point).
*/
- a.grow_reg(32);
- b.grow_reg(32);
+ a.grow_to(64);
+ b.grow_to(64);
BigInt d = a * b;
BigInt e = a;
@@ -236,8 +236,8 @@ u32bit check_sqr(const std::vector<std::string>& args)
BigInt a(args[0]);
BigInt b(args[1]);
- a.grow_reg(16);
- b.grow_reg(16);
+ a.grow_to(64);
+ b.grow_to(64);
BigInt c = square(a);
BigInt d = a * a;