--- ngsolve/comp/postproc.cpp.orig +++ ngsolve/comp/postproc.cpp @@ -9,6 +9,7 @@ */ #include +#include namespace ngcomp { @@ -274,8 +275,8 @@ if (dimflux > 1) { FlatMatrix elmat(dnumsflux.Size(), lh); - dynamic_cast (fluxbli) - . Block() . AssembleElementMatrix (felflux, eltrans, elmat, lh); + BlockBilinearFormIntegrator const& fluxbli_ref = dynamic_cast (fluxbli); + fluxbli_ref . Block() . AssembleElementMatrix (felflux, eltrans, elmat, lh); CholeskyFactors invelmat(elmat); FlatVector hv1(dnumsflux.Size(), lh);