mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-22 03:42:19 +00:00
boost/numeric/ublas/matrix_sparse.hpp : fix mapped_vector_of_mapped_vector
libs/numeric/ublas/test/test_inplace_solve.cpp : make test set configurable, see #4024 libs/numeric/ublas/test/test32.cpp, libs/numeric/ublas/test/test33.cpp : add mapped_vector_of_mapped_vector libs/numeric/ublas/test/Jamfile.v2 : see #4024 - split some tests to separate "good" and "bad" matrix types svn path=/trunk/libs/numeric/ublas/; revision=80403
This commit is contained in:
@@ -321,4 +321,34 @@ void test_matrix_vector () {
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MAPPED_VECTOR_OF_MAPPED_VECTOR
|
||||
#ifdef USE_STD_MAP
|
||||
#ifdef USE_FLOAT
|
||||
std::cout << "float mapped_vector_of_mapped_vector" << std::endl;
|
||||
test_my_matrix_vector<ublas::mapped_vector<float, std::map<std::size_t, float> >,
|
||||
ublas::mapped_vector_of_mapped_vector<float>, 3 > () ();
|
||||
#endif
|
||||
|
||||
#ifdef USE_DOUBLE
|
||||
std::cout << "double mapped_vector_of_mapped_vector" << std::endl;
|
||||
test_my_matrix_vector<ublas::mapped_vector<double, std::map<std::size_t, double> >,
|
||||
ublas::mapped_vector_of_mapped_vector<double>, 3 > () ();
|
||||
#endif
|
||||
|
||||
#ifdef USE_STD_COMPLEX
|
||||
#ifdef USE_FLOAT
|
||||
std::cout << "std::complex<float> mapped_vector_of_mapped_vector" << std::endl;
|
||||
test_my_matrix_vector<ublas::mapped_vector<std::complex<float>, std::map<std::size_t, std::complex<float> > >,
|
||||
ublas::mapped_vector_of_mapped_vector<std::complex<float> >, 3 > () ();
|
||||
#endif
|
||||
|
||||
#ifdef USE_DOUBLE
|
||||
std::cout << "std::complex<double> mapped_vector_of_mapped_vector" << std::endl;
|
||||
test_my_matrix_vector<ublas::mapped_vector<std::complex<double>, std::map<std::size_t, std::complex<double> > >,
|
||||
ublas::mapped_vector_of_mapped_vector<std::complex<double> >, 3 > () ();
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user