fixed compilation with CUDA

This commit is contained in:
Vladislav Vinogradov
2013-04-04 11:00:36 +04:00
parent 6ef43cd96e
commit bf6c08a9ea
6 changed files with 8 additions and 7 deletions

View File

@@ -125,8 +125,8 @@ GPU_TEST_P(FGDStatModel, Update)
ASSERT_EQ(gold_count, count);
cv::Mat gold_background(model->background);
cv::Mat gold_foreground(model->foreground);
cv::Mat gold_background = cv::cvarrToMat(model->background);
cv::Mat gold_foreground = cv::cvarrToMat(model->foreground);
if (out_cn == 3)
d_model.background.download(h_background3);