Skip to content
Snippets Groups Projects
Commit beab19ee authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

And bug fix of a bug introduced today :)

parent 0a6ac92f
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment