mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 13:15:57 +08:00
Rename test/array.cpp to test/array_cwise.cpp
Having a test named "array" can clash with the standard library header "array". Fixes issue #2046
This commit is contained in:
parent
590aec8fab
commit
5dda502f84
@ -185,7 +185,7 @@ ei_add_test(smallvectors)
|
|||||||
ei_add_test(mapped_matrix)
|
ei_add_test(mapped_matrix)
|
||||||
ei_add_test(mapstride)
|
ei_add_test(mapstride)
|
||||||
ei_add_test(mapstaticmethods)
|
ei_add_test(mapstaticmethods)
|
||||||
ei_add_test(array)
|
ei_add_test(array_cwise)
|
||||||
ei_add_test(array_for_matrix)
|
ei_add_test(array_for_matrix)
|
||||||
ei_add_test(array_replicate)
|
ei_add_test(array_replicate)
|
||||||
ei_add_test(array_reverse)
|
ei_add_test(array_reverse)
|
||||||
|
@ -446,7 +446,7 @@ template<typename ArrayType> void min_max(const ArrayType& m)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_array()
|
void test_array_cwise()
|
||||||
{
|
{
|
||||||
for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
CALL_SUBTEST_1( array(Array<float, 1, 1>()) );
|
CALL_SUBTEST_1( array(Array<float, 1, 1>()) );
|
Loading…
x
Reference in New Issue
Block a user