Skip to content
Snippets Groups Projects
Commit 449b0515 authored by Markus Blatt's avatar Markus Blatt
Browse files

[BugFix] Makes SuperLU::apply(T*, T*) compile again.

Somehow I missed this instance in the transition.
parent b5fc952d
No related branches found
No related tags found
No related merge requests found
......@@ -643,8 +643,8 @@ namespace Dune
if(mat.N()+mat.M()==0)
DUNE_THROW(ISTLError, "Matrix of SuperLU is null!");
SuperMatrix* mB = B;
SuperMatrix* mX = X;
SuperMatrix* mB = &B;
SuperMatrix* mX = &X;
SuperMatrix rB, rX;
if (reusevector) {
if(first) {
......
......@@ -78,4 +78,5 @@ int main(int argc, char** argv)
std::cout<<"Defect reduction is "<<res.reduction<<std::endl;
solver1.apply(x,b, res);
solver1.apply(reinterpret_cast<double*>(&x[0]), reinterpret_cast<double*>(&b[0]));
}
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