COMP: compile with single-precision

This commit is contained in:
Mark Olesen
2016-12-14 14:21:33 +01:00
parent abc941a0f1
commit 36173b5306

View File

@ -67,9 +67,9 @@ surfaceNormalFixedValueFvPatchVectorField
)
:
fixedValueFvPatchVectorField(p, iF),
refValue_(ptf.refValue_, mapper, 0.0)
refValue_(ptf.refValue_, mapper, pTraits<scalar>::zero)
{
// Note: refValue_ will have default value 0.0 for unmapped faces. This
// Note: refValue_ will have default value of 0 for unmapped faces. This
// can temporarily happen during e.g. redistributePar. We should not
// access ptf.patch() instead since redistributePar has destroyed this
// at the time of mapping.