*forward port fix in MapBase::coeff(int) and coeffRef(int)

*forward port expanded map.cpp unit test
*fix unused variable warnings
This commit is contained in:
Benoit Jacob
2010-01-27 07:11:49 -05:00
parent 7ba9dc07ed
commit 35bacf7cb8
4 changed files with 44 additions and 10 deletions

View File

@@ -205,7 +205,7 @@
{
bool inplace = (dst==src);
bool aligned = ( (reinterpret_cast<size_t>(src)&15) | (reinterpret_cast<size_t>(dst)&15) ) == 0;
int key = (nfft<<3 ) | (inverse<<2) | (inplace<<1) | aligned;
int key = (nfft<<3 ) | (inverse<<2) | (inplace<<1) | static_cast<int>(aligned);
return m_plans[key];
}
};