diff options
Diffstat (limited to 'algebra.cpp')
-rw-r--r-- | algebra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/algebra.cpp b/algebra.cpp index 5a106c4a..d6c204bc 100644 --- a/algebra.cpp +++ b/algebra.cpp @@ -265,7 +265,7 @@ void AbstractGroup<T>::SimultaneousMultiply(T *results, const T &base, const Int assert(expBegin->NotNegative());
exponents.push_back(WindowSlider(*expBegin++, InversionIsFast(), 0));
exponents[i].FindNextWindow();
- buckets[i].resize(1<<(exponents[i].windowSize-1), Identity());
+ buckets[i].resize(((size_t) 1) << (exponents[i].windowSize-1), Identity());
}
unsigned int expBitPosition = 0;
|