|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50293 - sandbox/boost/numeric/bindings/lapack
From: thomas.klimpel_at_[hidden]
Date: 2008-12-16 05:12:44
Author: klimpel
Date: 2008-12-16 05:12:44 EST (Tue, 16 Dec 2008)
New Revision: 50293
URL: http://svn.boost.org/trac/boost/changeset/50293
Log:
commented out some more unused variables
Text files modified:
sandbox/boost/numeric/bindings/lapack/gelsd.hpp | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
Modified: sandbox/boost/numeric/bindings/lapack/gelsd.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/gelsd.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/gelsd.hpp 2008-12-16 05:12:44 EST (Tue, 16 Dec 2008)
@@ -255,13 +255,13 @@
template <typename MatrA, typename MatrB, typename VecS, typename Work>
int operator() (MatrA& A, MatrB& B, VecS& s, detail::workspace1<Work> workspace) const
{
- const int m = traits::matrix_size1(A);
- const int n = traits::matrix_size2(A);
- const int nrhs = traits::matrix_size2(B);
+ //const int m = traits::matrix_size1(A);
+ //const int n = traits::matrix_size2(A);
+ //const int nrhs = traits::matrix_size2(B);
- const int minmn = std::min(m, n); // minmn = m < n ? m : n
- const int maxmn = std::max(m, n); // maxmn = m > n ? m : n
- const int maxmnr = std::max(maxmn, nrhs); // maxmnr = maxmn > nrhs ? maxmn : nrhs
+ //const int minmn = std::min(m, n); // minmn = m < n ? m : n
+ //const int maxmn = std::max(m, n); // maxmn = m > n ? m : n
+ //const int maxmnr = std::max(maxmn, nrhs); // maxmnr = maxmn > nrhs ? maxmn : nrhs
return gelsd(A, B, s, workspace.w_);
}
@@ -359,13 +359,13 @@
template <typename MatrA, typename MatrB, typename VecS, typename Work, typename RWork>
int operator() (MatrA& A, MatrB& B, VecS& s, detail::workspace2<Work, RWork> workspace) const
{
- const int m = traits::matrix_size1(A);
- const int n = traits::matrix_size2(A);
- const int nrhs = traits::matrix_size2(B);
+ //const int m = traits::matrix_size1(A);
+ //const int n = traits::matrix_size2(A);
+ //const int nrhs = traits::matrix_size2(B);
- const int minmn = std::min(m, n); // minmn = m < n ? m : n
- const int maxmn = std::max(m, n); // maxmn = m > n ? m : n
- const int maxmnr = std::max(maxmn, nrhs); // maxmnr = maxmn > nrhs ? maxmn : nrhs
+ //const int minmn = std::min(m, n); // minmn = m < n ? m : n
+ //const int maxmn = std::max(m, n); // maxmn = m > n ? m : n
+ //const int maxmnr = std::max(maxmn, nrhs); // maxmnr = maxmn > nrhs ? maxmn : nrhs
return gelsd(A, B, s, workspace.w_, workspace.wr_);
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk