Commit eab7e9dd authored by Praetorius, Simon's avatar Praetorius, Simon

repair quadfactory storage

parent 43cefbd6
Pipeline #4703 passed with stage
in 41 minutes and 32 seconds
......@@ -82,7 +82,7 @@ namespace AMDiS
void setQuadFactory(PQF&& pre)
{
using ctype = typename Geometry::ctype;
quadFactory_.emplace(
quadFactory_ = makeUniquePtr(
makeQuadratureFactory<ctype, LC::mydimension, LocalFunction>(FWD(pre)));
}
......@@ -137,7 +137,7 @@ namespace AMDiS
std::optional<LocalFunction> localFct_;
/// Assign each element type a quadrature rule
std::optional<QuadFactory> quadFactory_;
std::shared_ptr<QuadFactory> quadFactory_;
/// the derivative order of this operator (in {0, 1, 2})
int termOrder_ = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment