Commit f5195017 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fix bug for multi mesh usage.

parent 805f4b62
...@@ -102,12 +102,8 @@ namespace AMDiS { ...@@ -102,12 +102,8 @@ namespace AMDiS {
Element *el = smallElInfo->getElement(); Element *el = smallElInfo->getElement();
lastVecEl = lastMatEl = NULL; lastVecEl = lastMatEl = NULL;
if ((el != lastMatEl && el != lastVecEl) || !operat->isOptimized()) { if ((el != lastMatEl && el != lastVecEl) || !operat->isOptimized())
if (smallElInfo == colElInfo) initElement(smallElInfo, largeElInfo);
initElement(smallElInfo);
else
initElement(smallElInfo, largeElInfo);
}
if (el != lastMatEl || !operat->isOptimized()) { if (el != lastMatEl || !operat->isOptimized()) {
if (rememberElMat) if (rememberElMat)
......
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