diff --git a/src/lagrangian/cfdemParticle/subModels/voidFractionModel/dividedVoidFraction/setWeightedSource.H b/src/lagrangian/cfdemParticle/subModels/voidFractionModel/dividedVoidFraction/setWeightedSource.H index 8a2ebaa5..d8a418db 100755 --- a/src/lagrangian/cfdemParticle/subModels/voidFractionModel/dividedVoidFraction/setWeightedSource.H +++ b/src/lagrangian/cfdemParticle/subModels/voidFractionModel/dividedVoidFraction/setWeightedSource.H @@ -67,7 +67,7 @@ } - particleWeights[index][storeInIndex] += 1/static_cast(nPoints); + particleWeights[index][storeInIndex] += 1.0/nPoints; particleVolumes[index][storeInIndex] += particleVolume; particleV[index][0] += particleVolume; //====================================================//