Changeset 323ac73 in tol


Ignore:
Timestamp:
Sep 6, 2010, 9:43:54 AM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
9bb9436a
Parents:
6043904
Message:

Fixes #960

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/vmatrix_type/vmat_stats.cpp

    r6043904 r323ac73  
    297297  const double *x;
    298298  if(!StoredData(x, nzmax)) { return(0.0); }
    299   double result=(size>nzmax)?0.0:BDat::PosInf();
     299  double result=(size>nzmax)?0.0:BDat::NegInf();
    300300  bool allUnknown = true;
    301301  for(k=0; k<nzmax; k++)
    … …  
    321321  const double *x;
    322322  if(!StoredData(x, nzmax)) { return(0.0); }
    323   double result=(size>nzmax)?0.0:BDat::NegInf();
     323  double result=(size>nzmax)?0.0:BDat::PosInf();
    324324  bool allUnknown = true;
    325325  for(k=0; k<nzmax; k++)
Note: See TracChangeset for help on using the changeset viewer.