Skip to content
Snippets Groups Projects
Commit 08704051 authored by andy's avatar andy
Browse files

COMP: avoid ambiguous construction from tmp

parent fb8a3623
Branches
Tags
No related merge requests found
......@@ -118,7 +118,7 @@ singleStepCombustion<CombThermoType, ThermoType>::R
if (semiImplicit_)
{
const label fNorm = singleMixturePtr_->specieProd()[specieI];
const volScalarField fres = singleMixturePtr_->fres(specieI);
const volScalarField fres(singleMixturePtr_->fres(specieI));
wSpecie /= max(fNorm*(Y - fres), 1e-2);
return -fNorm*wSpecie*fres + fNorm*fvm::Sp(wSpecie, Y);
......
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