mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: hierarchGeomDecomp : integer reduce on scalar quantity
This commit is contained in:
@ -269,10 +269,10 @@ void Foam::hierarchGeomDecomp::findBinary
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
label weightedSize = returnReduce
|
scalar weightedSize = returnReduce
|
||||||
(
|
(
|
||||||
sortedWeightedSizes[mid] - sortedWeightedSizes[minIndex],
|
sortedWeightedSizes[mid] - sortedWeightedSizes[minIndex],
|
||||||
sumOp<label>()
|
sumOp<scalar>()
|
||||||
);
|
);
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
|
|||||||
Reference in New Issue
Block a user