Fixed unitialized value for ILU when using flexible solvers.

If the user requested ILU0, the uninitialized valued caused an
arbritrary (quite high) fill-in level to be used which stalled the
computation and exhausted memory when running parallel.
This commit is contained in:
hnil
2020-05-13 13:13:54 +02:00
committed by Markus Blatt
parent df58d44f70
commit e309d86012

View File

@@ -80,7 +80,7 @@ class ParallelOverlappingILU0Args
{
public:
ParallelOverlappingILU0Args(MILU_VARIANT milu = MILU_VARIANT::ILU )
: milu_(milu)
: milu_(milu), n_(0)
{}
void setMilu(MILU_VARIANT milu)
{