Changeset e8f4208 in tol


Ignore:
Timestamp:
Nov 21, 2008, 5:51:26 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
9871d4f2
Parents:
00c2c9f
Message:

Reallocation and zero assigantion of returning argument of cblas_dgemm and cblas_dsyrk must be done just when beta==0 in order to not hide posible previous errors

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@207 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/bmath/blinalg/tol_blas.cpp

    r00c2c9f re8f4208  
    8383  }
    8484  N = TransB==CblasNoTrans ? Bc : Br;
    85   if((beta==0.0)&&(!Cr|!Cc))
     85  if(beta==0.0)
    8686  {
    8787    C.Alloc(M,N);
    … …  
    148148    K = Ar;
    149149  }
    150   if((beta==0.0)&&(!Cr|!Cc))
     150  if(beta==0.0)
    151151  {
    152152    C.Alloc(N,N);
Note: See TracChangeset for help on using the changeset viewer.