From b3bae3a4113eb95224bfb07925a996f7ccf27df0 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 31 Dec 2015 11:01:11 +0000 Subject: [PATCH] ENH: sampledSets: have sorted distance on master set This is more logical - the points are passed in sorted as well and there is no way for the master sampledset to determine the ordering. --- src/sampling/sampledSet/sampledSets/sampledSets.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sampling/sampledSet/sampledSets/sampledSets.C b/src/sampling/sampledSet/sampledSets/sampledSets.C index e4dfaa638c..ffee2ac3cc 100644 --- a/src/sampling/sampledSet/sampledSets/sampledSets.C +++ b/src/sampling/sampledSet/sampledSets/sampledSets.C @@ -119,7 +119,7 @@ void Foam::sampledSets::combineSampledSets samplePts.name(), samplePts.axis(), List(UIndirectList(allPts, indexSets[setI])), - allCurveDist + sortedDist ) ); }