From 0fc464254aa0559ba190d0dc5bf767b224ca0a15 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 9 Dec 2009 13:50:31 +0100 Subject: [PATCH] Fix minor bug in surfaceFeatureExtract.C --- .../surface/surfaceFeatureExtract/surfaceFeatureExtract.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C b/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C index 307edd8568..f38bf13cc5 100644 --- a/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C +++ b/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C @@ -199,7 +199,7 @@ int main(int argc, char *argv[]) } // Trim away small groups of features - if (minLen > 0 || minLen > 0) + if (minElem > 0 || minLen > 0) { set.trimFeatures(minLen, minElem); Pout<< endl << "Removed small features" << endl;