diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-24 21:42:03 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-24 21:42:03 +0000 |
commit | 8ea8b481de07169706343f35f928eac845b706fe (patch) | |
tree | 9a082b32a020aebd6df50bf73de275e5e2cdaef8 /test/cholesky.cpp | |
parent | 65abb4c52e198c7379ad50655bfaa9d4ddd20c77 (diff) |
As discussed on ML:
* remove the automatic resizing feature of operator =
* add function Matrix::set() to be used when the previous
behavior is wanted
* the default constructor of dynamic-size matrices now
creates a "null" matrix (data=0, rows = cols = 0)
instead of a 1x1 matrix
* fix UnixX typos ;)
Diffstat (limited to 'test/cholesky.cpp')
-rw-r--r-- | test/cholesky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cholesky.cpp b/test/cholesky.cpp index f7eb7800e..a64a45c45 100644 --- a/test/cholesky.cpp +++ b/test/cholesky.cpp @@ -65,7 +65,7 @@ template<typename MatrixType> void cholesky(const MatrixType& m) Gsl::cholesky_solve(gMatA, gVecB, gVecX); VectorType vecX, _vecX, _vecB; convert(gVecX, _vecX); - vecX = symm.cholesky().solve(vecB); + vecX.set( symm.cholesky().solve(vecB) ); Gsl::prod(gSymm, gVecX, gVecB); convert(gVecB, _vecB); // test gsl itself ! |