Add size_t cast to resolve VS warning C4334
Resolve C4334: 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)pull/157/head
parent
2dde105c3f
commit
938c0a8bf1
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue