mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
Avoid `unneeded-internal-declaration' warning
This commit is contained in:
parent
6d26deb894
commit
0187504912
@ -92,6 +92,8 @@ template<typename MatrixType> void real_complex(DenseIndex rows = MatrixType::Ro
|
|||||||
|
|
||||||
void test_linearstructure()
|
void test_linearstructure()
|
||||||
{
|
{
|
||||||
|
g_called = true;
|
||||||
|
VERIFY(g_called); // avoid `unneeded-internal-declaration` warning.
|
||||||
for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
CALL_SUBTEST_1( linearStructure(Matrix<float, 1, 1>()) );
|
CALL_SUBTEST_1( linearStructure(Matrix<float, 1, 1>()) );
|
||||||
CALL_SUBTEST_2( linearStructure(Matrix2f()) );
|
CALL_SUBTEST_2( linearStructure(Matrix2f()) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user