Skip to content
Snippets Groups Projects
Commit a86b3461 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : correct bug in function when function replace is used to substitute

a translated function (who said that function mechanism is too
complicated ? ;-)
parent 86c13536
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,7 @@ dataCacheDouble *dataCacheMap::get(const function *f, dataCacheDouble *caller, b
if (it->iMap > _parent->_secondaryCaches.size())
okFromParent = false;
dataCacheMap *m = getSecondaryCache(it->iMap);
if (m->_cacheDoubleMap.find(it->f) != m->_cacheDoubleMap.end()) {
if (m->_cacheDoubleMap.find(_translate(it->f)) != m->_cacheDoubleMap.end()) {
okFromParent = false;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment