Skip to content
Snippets Groups Projects
Commit 0a40c824 authored by mattijs's avatar mattijs
Browse files

BUG: hierarchGeomDecomp : integer reduce on scalar quantity

parent 131185f5
Branches
Tags
No related merge requests found
......@@ -269,10 +269,10 @@ void Foam::hierarchGeomDecomp::findBinary
while (true)
{
label weightedSize = returnReduce
scalar weightedSize = returnReduce
(
sortedWeightedSizes[mid] - sortedWeightedSizes[minIndex],
sumOp<label>()
sumOp<scalar>()
);
if (debug)
......
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