Commit d01b1f44 authored by mattijs's avatar mattijs
Browse files

zero-size mapping

parent 093305d3
......@@ -207,8 +207,11 @@ void timeVaryingMappedFixedValueFvPatchField<Type>::autoMap
)
{
fixedValueFvPatchField<Type>::autoMap(m);
startSampledValues_.autoMap(m);
endSampledValues_.autoMap(m);
if (startSampledValues_.size() > 0)
{
startSampledValues_.autoMap(m);
endSampledValues_.autoMap(m);
}
}
......
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