From 50cd5d9ce74e10c574dd747baa77cc3d8b46897c Mon Sep 17 00:00:00 2001 From: LeonidBeynenson Date: Wed, 6 Feb 2013 15:31:51 +0400 Subject: [PATCH] Try to fix Mac compilation issue. --- modules/features2d/src/features2d_init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features2d/src/features2d_init.cpp b/modules/features2d/src/features2d_init.cpp index a50b089..2554396 100644 --- a/modules/features2d/src/features2d_init.cpp +++ b/modules/features2d/src/features2d_init.cpp @@ -134,7 +134,7 @@ CV_INIT_ALGORITHM(SimpleBlobDetector, "Feature2D.SimpleBlob", obj.info()->addParam(obj, "thresholdStep", obj.params.thresholdStep); obj.info()->addParam(obj, "minThreshold", obj.params.minThreshold); obj.info()->addParam(obj, "maxThreshold", obj.params.maxThreshold); - obj.info()->addParam(obj, "minRepeatability", obj.params.minRepeatability); + obj.info()->addParam_(obj, "minRepeatability", ParamType::type, &obj.params.minRepeatability, false, 0, 0); obj.info()->addParam(obj, "minDistBetweenBlobs", obj.params.minDistBetweenBlobs); obj.info()->addParam(obj, "filterByColor", obj.params.filterByColor); obj.info()->addParam(obj, "blobColor", obj.params.blobColor); -- 2.7.4