diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_hilbert.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<size_t>(vec.rackCount())); + assert(count <= static_cast<size_t>(vec.num_racks())); return vec; } |