Skip to content
Snippets Groups Projects
Commit 24e5fd17 authored by Christian Engwer's avatar Christian Engwer
Browse files

[amg] fix type of prolongationDampingFactor to double

basically everywhere the type is hard-coded to double, only in the
hierarchy it is deduced from the MatrixOperator, which lead to alignement
errors when using vector types.
parent 548d62ca
No related branches found
No related tags found
1 merge request!87[multirhstest] Check with AlignedNumber.
......@@ -435,8 +435,7 @@ namespace Dune
*/
const RedistributeInfoList& redistributeInformation() const;
typename MatrixOperator::field_type getProlongationDampingFactor() const
double getProlongationDampingFactor() const
{
return prolongDamp_;
}
......@@ -471,7 +470,7 @@ namespace Dune
/** @brief The maximum number of level across all processors.*/
int maxlevels_;
typename MatrixOperator::field_type prolongDamp_;
double prolongDamp_;
/**
* @brief functor to print matrix statistics.
......
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