# HG changeset patch # User jwe # Date 1049749954 0 # Node ID 6e3ec3585cec1c0f3f417614afc36581a091cbe2 # Parent 51cd16a73307a6e1bbf335c983a40af293411e6b [project @ 2003-04-07 21:12:34 by jwe] diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,10 @@ +2003-04-07 John W. Eaton + + * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. + * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): + Likewise. + From Quentin H. Spencer . + 2003-03-03 John W. Eaton * oct-getopt.c: Include , not "getopt.h". diff --git a/liboctave/CmplxSVD.h b/liboctave/CmplxSVD.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; diff --git a/liboctave/dbleSVD.h b/liboctave/dbleSVD.h --- 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;