Changeset b271fb0 in tol


Ignore:
Timestamp:
Sep 3, 2010, 4:02:10 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
7803f58
Parents:
61c4766
Message:

Fixes #960

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

File:
1 edited

Legend:

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

    r61c4766 rb271fb0  
    297297  const double *x;
    298298  if(!StoredData(x, nzmax)) { return(0.0); }
    299   double result=(size>nzmax)?0.0:BDat::NegPos();
     299  double result=(size>nzmax)?0.0:BDat::PosInf();
    300300  bool allUnknown = true;
    301301  for(k=0; k<nzmax; k++)
    … …  
    307307    }
    308308  }
    309   if(allUnknown) { result = BDat:Nan(); }
     309  if(allUnknown) { result = BDat::Nan(); }
    310310  return(result);
    311311}
    … …  
    331331    }
    332332  }
    333   if(allUnknown) { result = BDat:Nan(); }
     333  if(allUnknown) { result = BDat::Nan(); }
    334334  return(result);
    335335}
Note: See TracChangeset for help on using the changeset viewer.