Mercurial > hg > octave-lyh
comparison libinterp/dldfcn/eigs.cc @ 15220:61822c866ba1
use std::numeric_limits<T>::epsilon in C++ code
* __contourc__.cc, __qp__.cc, quadcc.cc, qz.cc, eigs.cc, mex.cc,
graphics.cc, CMatrix.cc, CollocWt.cc, DASPK-opts.in, DASRT-opts.in,
DASSL-opts.in, LSODE-opts.in, Quad-opts.in, Range.cc, dMatrix.cc,
eigs-base.cc, fCMatrix.cc, fMatrix.cc: Replace DBL_EPSILON and
FLT_EPSILON with std::numeric_limits<T>::epsilon.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 23 Aug 2012 12:13:59 -0400 |
parents | 2fc554ffbc28 |
children |
comparison
equal
deleted
inserted
replaced
15219:aeba1adfd76b | 15220:61822c866ba1 |
---|---|
327 bool sym_tested = false; | 327 bool sym_tested = false; |
328 bool cholB = false; | 328 bool cholB = false; |
329 bool a_is_sparse = false; | 329 bool a_is_sparse = false; |
330 ColumnVector permB; | 330 ColumnVector permB; |
331 int arg_offset = 0; | 331 int arg_offset = 0; |
332 double tol = DBL_EPSILON; | 332 double tol = std::numeric_limits<double>::epsilon (); |
333 int maxit = 300; | 333 int maxit = 300; |
334 int disp = 0; | 334 int disp = 0; |
335 octave_idx_type p = -1; | 335 octave_idx_type p = -1; |
336 ColumnVector resid; | 336 ColumnVector resid; |
337 ComplexColumnVector cresid; | 337 ComplexColumnVector cresid; |