Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Die Konto der externen Nutzer:innen sind über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. The accounts of external users can be accessed via the "Standard" tab. The administrators

Commit 5988cddb authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

PngReader changed to 'new' localIndices dataStructure

parent 1c8b8100
......@@ -69,7 +69,7 @@ namespace AMDiS {
const BasisFunction *basFcts = vec->getFeSpace()->getBasisFcts();
int numBasFcts = basFcts->getNumber();
DegreeOfFreedom *localIndices = new DegreeOfFreedom[numBasFcts];
std::vector<DegreeOfFreedom> localIndices(numBasFcts);
double xMin = 0.0, xMax = 1.0, yMin = 0.0, yMax = 1.0;
getMeshDimension(vec->getFeSpace()->getMesh(), xMin, xMax, yMin, yMax);
......@@ -105,8 +105,6 @@ namespace AMDiS {
elInfo = stack.traverseNext(elInfo);
}
delete [] localIndices;
png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
fclose(fp);
};
......
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