diff options
author | David Robillard <d@drobilla.net> | 2018-08-19 11:17:18 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:48:23 +0200 |
commit | fe202f6af41deb3e766e78ab6d4a12fe2ced7aa4 (patch) | |
tree | 619f2c900835242aa25605ffe9ea404eef8ef193 /test | |
parent | 647395224c16178a59d3a9cadfff56e6c46aa5a0 (diff) | |
download | chilbert-fe202f6af41deb3e766e78ab6d4a12fe2ced7aa4.tar.gz chilbert-fe202f6af41deb3e766e78ab6d4a12fe2ced7aa4.tar.bz2 chilbert-fe202f6af41deb3e766e78ab6d4a12fe2ced7aa4.zip |
Rename rackCount() to num_racks()
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; } |