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

And bug fix of a bug introduced today :)

parent 0a6ac92f
......@@ -1549,8 +1549,11 @@ namespace AMDiS {
BoundaryType *bound =
useGetBound ? new BoundaryType[basisFcts->getNumber()] : NULL;
matrix->startInsertion(matrix->getNnz());
vector->set(0.0);
if (matrix)
matrix->startInsertion(matrix->getNnz());
if (vector)
vector->set(0.0);
// == Traverse mesh and assemble. ==
ElInfo *elInfo = stack.traverseFirst(mesh, -1, assembleFlag);
......
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