Skip to content
Snippets Groups Projects
Commit 71b802cf authored by Arne Morten Kvarving's avatar Arne Morten Kvarving Committed by Markus Blatt
Browse files

fix broken attempt at constructor delegation

parent 1ec6544c
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,12 @@ namespace Dune {
*/
UMFPack(const Matrix& mat_, int verbose, bool)
{
UMFPack(mat_,verbose);
//check whether T is a supported type
static_assert((std::is_same<T,double>::value) || (std::is_same<T,std::complex<double> >::value),
"Unsupported Type in UMFPack (only double and std::complex<double> supported)");
Caller::defaults(UMF_Control);
setVerbosity(verbose);
setMatrix(mat_);
}
/** @brief default constructor
......
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