From 67ee1222b506397eead85c04a2e53e22983b55d8 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 9 Apr 2019 11:46:48 +0100 Subject: [PATCH] Bugfix: return scalar instead of truncated label. Daniel Khazaei. --- src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C b/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C index eb879b516..dfa1a002e 100644 --- a/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C +++ b/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C @@ -127,7 +127,7 @@ Foam::scalar Foam::getRefCellValue ) { scalar refCellValue = (refCelli >= 0 ? field[refCelli] : 0.0); - return returnReduce