Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit bdd079e7 authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

map.begin() -> bug in MR mode when called on empty map

parent df74bad6
...@@ -560,8 +560,11 @@ inline Dart GenericMap::begin() const ...@@ -560,8 +560,11 @@ inline Dart GenericMap::begin() const
if (m_isMultiRes) if (m_isMultiRes)
{ {
unsigned int d = m_mrattribs.begin() ; unsigned int d = m_mrattribs.begin() ;
if(d != m_mrattribs.end())
{
while (getDartLevel(d) > m_mrCurrentLevel) while (getDartLevel(d) > m_mrCurrentLevel)
m_mrattribs.next(d) ; m_mrattribs.next(d) ;
}
return Dart::create(d) ; return Dart::create(d) ;
} }
......
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