aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-19 09:56:41 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:47:46 +0200
commit8f5f179bf2af2002ed74c0e81ae3661b71b289cf (patch)
tree655219d1418315fed95e88f0cc340dae671b3cb9
parent131fc7924fe5d30c4605aa158ef5564352a0f626 (diff)
downloadchilbert-8f5f179bf2af2002ed74c0e81ae3661b71b289cf.tar.gz
chilbert-8f5f179bf2af2002ed74c0e81ae3661b71b289cf.tar.bz2
chilbert-8f5f179bf2af2002ed74c0e81ae3661b71b289cf.zip
Remove unnecessary truncation
-rw-r--r--chilbert/BigBitVec.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/chilbert/BigBitVec.hpp b/chilbert/BigBitVec.hpp
index 5862f31..c3fe957 100644
--- a/chilbert/BigBitVec.hpp
+++ b/chilbert/BigBitVec.hpp
@@ -356,8 +356,6 @@ public:
return *this;
}
- truncate(size());
-
CBigBitVec t1(*this);
(*this) >>= bits;
t1 <<= (size() - bits);
@@ -376,8 +374,6 @@ public:
return *this;
}
- truncate(size());
-
CBigBitVec t1(*this);
(*this) <<= bits;
t1 >>= (size() - bits);