BUG: correct initialisation list in coupledPolyPatch constructor

This commit is contained in:
laurence
2012-12-12 08:49:54 +00:00
parent 9c76fd797c
commit cc1a3e58a2

View File

@ -508,7 +508,9 @@ Foam::coupledPolyPatch::coupledPolyPatch
matchTolerance_(dict.lookupOrDefault("matchTolerance", defaultMatchTol_)),
transform_
(
transformTypeNames.read(dict.lookupOrDefault("transform", "UNKNOWN"))
dict.found("transform")
? transformTypeNames.read(dict.lookup("transform"))
: UNKNOWN
)
{}