Mercurial > hg > octave-lojdl
changeset 7808:7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
author | David Bateman <dbateman@free.fr> |
---|---|
date | Fri, 23 May 2008 10:44:58 +0200 |
parents | d4565e812948 |
children | 3af309919efc |
files | liboctave/ChangeLog liboctave/floatAEPBAL.cc |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,9 @@ +2008-06-02 David Bateman <dbateman@free.fr> + + * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const + FloatMatrix&, const std::string&)): Use FloatMatrix to initialize + balancing_mat. + 2008-05-21 David Bateman <dbateman@free.fr> * Quad-opts.in: Handle single precision tolerances.
--- a/liboctave/floatAEPBAL.cc +++ b/liboctave/floatAEPBAL.cc @@ -74,7 +74,7 @@ n, p_balanced_mat, n, ilo, ihi, pscale, info F77_CHAR_ARG_LEN (1))); - balancing_mat = Matrix (n, n, 0.0); + balancing_mat = FloatMatrix (n, n, 0.0); for (octave_idx_type i = 0; i < n; i++) balancing_mat.elem (i ,i) = 1.0;