From 4413bee6933c2f92bebfa67416e96a029c9e482c Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sat, 12 Oct 2013 02:36:53 +0400 Subject: [PATCH] ocl: reverted type of perf test params for Kalman filter --- modules/ocl/perf/perf_kalman.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/ocl/perf/perf_kalman.cpp b/modules/ocl/perf/perf_kalman.cpp index 981d93c744..017a8a70dc 100644 --- a/modules/ocl/perf/perf_kalman.cpp +++ b/modules/ocl/perf/perf_kalman.cpp @@ -57,12 +57,14 @@ using std::tr1::get; ///////////// Kalman Filter //////////////////////// -typedef TestBaseWithParam KalmanFilterFixture; +typedef tuple KalmanFilterType; +typedef TestBaseWithParam KalmanFilterFixture; PERF_TEST_P(KalmanFilterFixture, KalmanFilter, - ::testing::Values(1000, 1500)) + ::testing::Values(1000, 1500)) { - const int dim = GetParam(); + KalmanFilterType params = GetParam(); + const int dim = get<0>(params); cv::Mat sample(dim, 1, CV_32FC1), dresult; randu(sample, -1, 1);