aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/GetLocation.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-19 16:47:38 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:49:01 +0200
commit03f39c8be08d632d1f982f5ba5f2e95256be1122 (patch)
tree41ae78da247659bf8261bdd2397fadf32550d2d9 /chilbert/GetLocation.hpp
parentfa3d8f677b6a30c2115e7d167d4938e293dfad81 (diff)
downloadchilbert-03f39c8be08d632d1f982f5ba5f2e95256be1122.tar.gz
chilbert-03f39c8be08d632d1f982f5ba5f2e95256be1122.tar.bz2
chilbert-03f39c8be08d632d1f982f5ba5f2e95256be1122.zip
Use consistent naming scheme
Diffstat (limited to 'chilbert/GetLocation.hpp')
-rw-r--r--chilbert/GetLocation.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chilbert/GetLocation.hpp b/chilbert/GetLocation.hpp
index 816b7b7..3594c80 100644
--- a/chilbert/GetLocation.hpp
+++ b/chilbert/GetLocation.hpp
@@ -25,10 +25,10 @@ namespace chilbert {
template <class P, class I>
inline void
-getLocation(const P* const p, const size_t n, const size_t i, I& l)
+get_location(const P* const p, const size_t n, const size_t i, I& l)
{
for (size_t j = 0; j < n; ++j) {
- setBit(l, j, testBit(p[j], i));
+ set_bit(l, j, test_bit(p[j], i));
}
}