mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-19 14:52:17 +00:00
Extended testing to complex, range and slice where possible
MSVC and USE_ET cleanup [SVN r24264]
This commit is contained in:
@@ -14,14 +14,6 @@
|
||||
// GeNeSys mbH & Co. KG in producing this work.
|
||||
//
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
|
||||
#pragma warning (disable: 4355)
|
||||
#pragma warning (disable: 4503)
|
||||
#pragma warning (disable: 4786)
|
||||
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <boost/numeric/ublas/config.hpp>
|
||||
@@ -83,17 +75,14 @@ struct test_my_matrix {
|
||||
// Some assignments
|
||||
initialize_matrix (m1);
|
||||
initialize_matrix (m2);
|
||||
#ifdef BOOST_UBLAS_USE_ET
|
||||
m2 += m1;
|
||||
std::cout << "m2 += m1 = " << m2 << std::endl;
|
||||
m2 -= m1;
|
||||
std::cout << "m2 -= m1 = " << m2 << std::endl;
|
||||
#else
|
||||
m2 = m2 + m1;
|
||||
std::cout << "m2 += m1 = " << m2 << std::endl;
|
||||
std::cout << "m2 = m2 + m1 = " << m2 << std::endl;
|
||||
m2 = m2 - m1;
|
||||
std::cout << "m2 -= m1 = " << m2 << std::endl;
|
||||
#endif
|
||||
std::cout << "m2 = m2 - m1 = " << m2 << std::endl;
|
||||
m1 *= value_type (1.);
|
||||
std::cout << "m1 *= 1. = " << m1 << std::endl;
|
||||
m1 *= t;
|
||||
|
||||
Reference in New Issue
Block a user