From 08570c42485c3a62ca3d344406d75047ba4ee296 Mon Sep 17 00:00:00 2001 From: Xianyi Zhang Date: Thu, 26 Apr 2012 15:54:15 +0800 Subject: [PATCH] Fixed the utest bug for drotmg. --- utest/test_rotmg.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utest/test_rotmg.c b/utest/test_rotmg.c index e51e6b299..9a1a3d084 100644 --- a/utest/test_rotmg.c +++ b/utest/test_rotmg.c @@ -38,12 +38,18 @@ void test_drotmg() double te_d2, tr_d2; double te_x1, tr_x1; double te_y1, tr_y1; - double te_param[5],tr_param[5]; + double te_param[5]; + double tr_param[5]; int i=0; te_d1= tr_d1=0.21149573940783739; te_d2= tr_d2=0.046892057172954082; te_x1= tr_x1=-0.42272687517106533; te_y1= tr_y1=0.42211309121921659; + + for(i=0; i<5; i++){ + te_param[i]=tr_param[i]=0.0; + } + //OpenBLAS BLASFUNC(drotmg)(&te_d1, &te_d2, &te_x1, &te_y1, te_param); //reference