-
- Downloads
Replace addToDiagonal by += in IPDG assembler
The code erroneously used the addToDiagonal method from the dune-matrix-vector module to add two objects of type FieldMatrix<T,1,1>. That worked nicely, until recently the addToDiagonal input data checks were tightened: Now the matrix type and the value to be added to the diagonal can only be of the same type if both are number types. As FM<,1,1> is not a number type the test in dunefunctionsipdgassemblertest.cc started not to compile anymore. Fix this by replacing addToDiagonal by operator+=.
parent
e159f494
No related branches found
No related tags found
Please register or sign in to comment