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 e3a0daf..20646a2 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.num_racks(), -1, sizeof(chilbert::FBV_UINT), 0, 0, vec.racks()); + ia, vec.num_racks(), -1, sizeof(chilbert::FBV_UINT), 0, 0, vec.data()); const mpz_class num(ia); mpz_clear(ia); return num; @@ -83,7 +83,7 @@ from_big_int(const mpz_class& num) { T vec = make_zero_bitvec<T, M>(); size_t count = 0; - mpz_export(vec.racks(), + mpz_export(vec.data(), &count, -1, sizeof(chilbert::FBV_UINT), |