Mercurial > hg > octave-lojdl
changeset 4374:6e3ec3585cec
[project @ 2003-04-07 21:12:34 by jwe]
author | jwe |
---|---|
date | Mon, 07 Apr 2003 21:12:34 +0000 |
parents | 51cd16a73307 |
children | 5855de872659 |
files | liboctave/ChangeLog liboctave/CmplxSVD.h liboctave/dbleSVD.h |
diffstat | 3 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,10 @@ +2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> + + * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. + * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): + Likewise. + From Quentin H. Spencer <qspencer@ieee.org>. + 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h".
--- a/liboctave/CmplxSVD.h +++ b/liboctave/CmplxSVD.h @@ -52,12 +52,14 @@ } ComplexSVD (const ComplexSVD& a) - : sigma (a.sigma), left_sm (a.left_sm), right_sm (a.right_sm) { } + : type_computed (a.type_computed), + sigma (a.sigma), left_sm (a.left_sm), right_sm (a.right_sm) { } ComplexSVD& operator = (const ComplexSVD& a) { if (this != &a) { + type_computed = a.type_computed; sigma = a.sigma; left_sm = a.left_sm; right_sm = a.right_sm;
--- a/liboctave/dbleSVD.h +++ b/liboctave/dbleSVD.h @@ -54,12 +54,14 @@ } SVD (const SVD& a) - : sigma (a.sigma), left_sm (a.left_sm), right_sm (a.right_sm) { } + : type_computed (a.type_computed), + sigma (a.sigma), left_sm (a.left_sm), right_sm (a.right_sm) { } SVD& operator = (const SVD& a) { if (this != &a) { + type_computed = a.type_computed; sigma = a.sigma; left_sm = a.left_sm; right_sm = a.right_sm;