aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nomalloc.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-12 10:19:59 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-12 10:19:59 -0400
commit8eb0fc1e72687ad32e1bbc8a635f3834e3592ed3 (patch)
tree4ff9ec45e1dc5f627b9bac5f33da4f4a16a40b71 /test/nomalloc.cpp
parentdbedc700123381bc478ae45897a4bb90868781dc (diff)
remove SVD class (was bad code taked from elsewhere)
Use JacobiSVD for now. We do plan to reintroduce a bidiagonalizing SVD asap.
Diffstat (limited to 'test/nomalloc.cpp')
-rw-r--r--test/nomalloc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp
index c1965a8ac..b4c0ff741 100644
--- a/test/nomalloc.cpp
+++ b/test/nomalloc.cpp
@@ -125,8 +125,7 @@ void ctms_decompositions()
Eigen::FullPivHouseholderQR<Matrix> fpQR; fpQR.compute(A);
// SVD module
- Eigen::JacobiSVD<Matrix> jSVD; jSVD.compute(A);
- Eigen::SVD<Matrix> svd; svd.compute(A);
+ Eigen::JacobiSVD<Matrix> jSVD; jSVD.compute(A, ComputeFullU | ComputeFullV);
}
void test_nomalloc()