From f4e5ef6a2c8869d923669992dd94c5273c0901ad Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Mon, 18 Oct 2010 07:39:20 +0000 Subject: [PATCH] bugfix: incrorrect argument order in cvRodrigues2 call --- modules/haartraining/cvsamples.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/haartraining/cvsamples.cpp b/modules/haartraining/cvsamples.cpp index a098402a77..ebc9ca7acf 100644 --- a/modules/haartraining/cvsamples.cpp +++ b/modules/haartraining/cvsamples.cpp @@ -432,7 +432,7 @@ void icvRandomQuad( int width, int height, double quad[4][2], d = distfactor * width; */ - cvRodrigues2( &rotMat, &rotVect ); + cvRodrigues2( &rotVect, &rotMat ); halfw = 0.5 * width; halfh = 0.5 * height;