fixed name in cpp file

This commit is contained in:
hnil 2024-01-18 11:40:59 +01:00
parent 1900379343
commit be27e2388d

View File

@ -86,7 +86,7 @@ void FlexibleSolverInfo<Matrix,Vector,Comm>::create(const Matrix& matrix,
bool parallel, bool parallel,
const PropertyTree& prm, const PropertyTree& prm,
std::size_t pressureIndex, std::size_t pressureIndex,
std::function<Vector()> trueFunc, std::function<Vector()> weightsCalculator,
const bool forceSerial, const bool forceSerial,
[[maybe_unused]] Comm& comm) [[maybe_unused]] Comm& comm)
@ -115,8 +115,6 @@ void FlexibleSolverInfo<Matrix,Vector,Comm>::create(const Matrix& matrix,
} }
} }
std::function<Vector()> weightsCalculator = trueFunc;
if (parallel) { if (parallel) {
#if HAVE_MPI #if HAVE_MPI
if (!wellOperator_) { if (!wellOperator_) {