From fe202f6af41deb3e766e78ab6d4a12fe2ced7aa4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Aug 2018 11:17:18 +0200 Subject: Rename rackCount() to num_racks() --- test/test_hilbert.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_hilbert.cpp b/test/test_hilbert.cpp index 005c110..e3a0daf 100644 --- a/test/test_hilbert.cpp +++ b/test/test_hilbert.cpp @@ -70,7 +70,7 @@ to_big_int(const T& vec) mpz_t ia; mpz_init(ia); mpz_import( - ia, vec.rackCount(), -1, sizeof(chilbert::FBV_UINT), 0, 0, vec.racks()); + ia, vec.num_racks(), -1, sizeof(chilbert::FBV_UINT), 0, 0, vec.racks()); const mpz_class num(ia); mpz_clear(ia); return num; @@ -90,7 +90,7 @@ from_big_int(const mpz_class& num) 0, 0, num.get_mpz_t()); - assert(count <= static_cast(vec.rackCount())); + assert(count <= static_cast(vec.num_racks())); return vec; } -- cgit v1.2.1