From 8f5f179bf2af2002ed74c0e81ae3661b71b289cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Aug 2018 09:56:41 +0200 Subject: Remove unnecessary truncation --- chilbert/BigBitVec.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chilbert') 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); -- cgit v1.2.1