Commit 0421fd67 authored by Sylvain Thery's avatar Sylvain Thery

small compilation problems resolved

parent 708ce60e
......@@ -264,7 +264,7 @@ inline AttributeMultiVector<Dart>* GenericMap::getRelation(const std::string& na
* TOPOLOGICAL MULTIRESOLUTION MANAGEMENT*
******************************************/
unsigned int GenericMap::getCurrentLevel()
inline unsigned int GenericMap::getCurrentLevel()
{
return m_mrCurrentLevel ;
}
......
......@@ -543,7 +543,7 @@ void GenericMap::update_topo_shortcuts()
for (unsigned int j=0; j < sub.length(); j++)
idx = 10*idx+(sub[j]-'0');
if (idx < names.size()-1)
m_mrDarts[idx] = m_mrattribs.getDataVector<unsigned char>(i);
m_mrDarts[idx] = m_mrattribs.getDataVector<unsigned int>(i);
else
CGoGNerr<<"Warning problem updating MR_DARTS" << CGoGNendl;
}
......@@ -666,9 +666,9 @@ void GenericMap::compact()
{
for (unsigned int j=0; j<nbl; ++j)
{
unsigned int d_index = m_mrDarts[j][i];
unsigned int d_index = m_mrDarts[j]->operator[](i);
if (d_index != oldnew[d_index])
m_mrDarts[j][i] = Dart(oldnew[d_index]);
m_mrDarts[j]->operator[](i) = oldnew[d_index];
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment