summaryrefslogtreecommitdiff
path: root/libs/numeric/ublas/test/test_fixed_containers.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-08 03:09:47 +0000
committer <>2015-05-05 14:37:32 +0000
commitf2541bb90af059680aa7036f315f052175999355 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /libs/numeric/ublas/test/test_fixed_containers.cpp
parented232fdd34968697a68783b3195b1da4226915b5 (diff)
downloadboost-tarball-master.tar.gz
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/numeric/ublas/test/test_fixed_containers.cpp')
-rw-r--r--libs/numeric/ublas/test/test_fixed_containers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/numeric/ublas/test/test_fixed_containers.cpp b/libs/numeric/ublas/test/test_fixed_containers.cpp
index bb5cba897..23a63827e 100644
--- a/libs/numeric/ublas/test/test_fixed_containers.cpp
+++ b/libs/numeric/ublas/test/test_fixed_containers.cpp
@@ -108,8 +108,8 @@ bool test_vector( std::string type_name)
for ( std::size_t i = 0; i!= v1.size(); i++)
{
- v1( i ) = 3.14159*i*i;
- v ( i ) = 3.14159*i*i;
+ v1( i ) = 3.14159*i;
+ v ( i ) = 3.14159*i;
}
pass &= compare( v1, v );
@@ -140,7 +140,7 @@ bool test_vector( std::string type_name)
try {
T a;
a=v1( 100 );
- (void) a ;
+ BOOST_UBLAS_NOT_USED( a );
} catch ( bad_index &e) {
std::cout << " Caught (GOOD): " << e.what() << endl;
@@ -250,7 +250,7 @@ bool test_matrix( std::string type_name)
try {
T a;
a=m1( 100, 100 );
- (void) a ;
+ BOOST_UBLAS_NOT_USED( a );
} catch ( bad_index &e) {
std::cout << " Caught (GOOD): " << e.what() << endl;