Révision | 6fe9695e0b8370e5a8d02dd35ddc35eb0a8648d1 (tree) |
---|---|
l'heure | 2013-07-30 23:38:23 |
Auteur | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
bug in ldc parameter of wrappers::Blas::Dgemm is fixed. #31807
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1444 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -305,10 +305,9 @@ void Blas::Dgemm(bool isColumnMajorMatrixA, | ||
305 | 305 | #else |
306 | 306 | tmpC = (double*)malloc( sizeof(double)*m*n); |
307 | 307 | #endif |
308 | - molds_blas_int ldc; | |
308 | + molds_blas_int ldc = m; | |
309 | 309 | if(isColumnMajorMatrixC){ |
310 | 310 | this->Dcopy(m*n, &matrixC[0][0], tmpC); |
311 | - ldc = m; | |
312 | 311 | } |
313 | 312 | else{ |
314 | 313 | for(molds_blas_int i=0; i<m; i++){ |
@@ -316,7 +315,6 @@ void Blas::Dgemm(bool isColumnMajorMatrixA, | ||
316 | 315 | tmpC[i+j*m] = matrixC[i][j]; |
317 | 316 | } |
318 | 317 | } |
319 | - ldc = n; | |
320 | 318 | } |
321 | 319 | |
322 | 320 | //call blas |