From 4716040703be1ee906439385d20475dcddad5ce3 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 25 Oct 2010 10:15:22 -0400 Subject: bug #86 : use internal:: namespace instead of ei_ prefix --- test/mapstride.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/mapstride.cpp') diff --git a/test/mapstride.cpp b/test/mapstride.cpp index 072b2134c..8ccd758f8 100644 --- a/test/mapstride.cpp +++ b/test/mapstride.cpp @@ -35,7 +35,7 @@ template void map_class_vector(const VectorType& m) Index arraysize = 3*size; - Scalar* array = ei_aligned_new(arraysize); + Scalar* array = internal::aligned_new(arraysize); { Map > map(array, size); @@ -57,7 +57,7 @@ template void map_class_vector(const VectorType& m) } } - ei_aligned_delete(array, arraysize); + internal::aligned_delete(array, arraysize); } template void map_class_matrix(const MatrixType& _m) @@ -71,7 +71,7 @@ template void map_class_matrix(const MatrixType& _m) Index arraysize = 2*(rows+4)*(cols+4); - Scalar* array = ei_aligned_new(arraysize); + Scalar* array = internal::aligned_new(arraysize); // test no inner stride and some dynamic outer stride { @@ -119,7 +119,7 @@ template void map_class_matrix(const MatrixType& _m) } } - ei_aligned_delete(array, arraysize); + internal::aligned_delete(array, arraysize); } void test_mapstride() @@ -135,7 +135,7 @@ void test_mapstride() CALL_SUBTEST_2( map_class_matrix(Matrix4d()) ); CALL_SUBTEST_3( map_class_matrix(Matrix()) ); CALL_SUBTEST_3( map_class_matrix(Matrix()) ); - CALL_SUBTEST_4( map_class_matrix(MatrixXcf(ei_random(1,10),ei_random(1,10))) ); - CALL_SUBTEST_5( map_class_matrix(MatrixXi(5,5)));//ei_random(1,10),ei_random(1,10))) ); + CALL_SUBTEST_4( map_class_matrix(MatrixXcf(internal::random(1,10),internal::random(1,10))) ); + CALL_SUBTEST_5( map_class_matrix(MatrixXi(5,5)));//internal::random(1,10),internal::random(1,10))) ); } } -- cgit v1.2.3