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

dg : fix explicit with dofManager

parent 1511c6e6
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,8 @@ template<> ...@@ -70,6 +70,8 @@ template<>
void linearSystemPETSc<fullMatrix<double> >::addToRightHandSide(int row, void linearSystemPETSc<fullMatrix<double> >::addToRightHandSide(int row,
const fullMatrix<double> &val) const fullMatrix<double> &val)
{ {
if (!_entriesPreAllocated)
preAllocateEntries();
int blockSize; int blockSize;
_try(MatGetBlockSize(_a, &blockSize)); _try(MatGetBlockSize(_a, &blockSize));
for (int ii = 0; ii < blockSize; ii++) { for (int ii = 0; ii < blockSize; ii++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment