mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Fixed compiler warning.
This commit is contained in:
parent
5e8384df2e
commit
5882f1631d
@ -177,7 +177,8 @@ static void verify_impl(bool condition, const char *testname, const char *file,
|
|||||||
std::cerr << "Test " << testname << " failed in " << file << " (" << line << ")"
|
std::cerr << "Test " << testname << " failed in " << file << " (" << line << ")"
|
||||||
<< std::endl << " " << condition_as_string << std::endl;
|
<< std::endl << " " << condition_as_string << std::endl;
|
||||||
std::cerr << "Stack:\n";
|
std::cerr << "Stack:\n";
|
||||||
for(int i=Eigen::g_test_stack.size()-1; i>=0; --i)
|
const int test_stack_size = static_cast<int>(Eigen::g_test_stack.size());
|
||||||
|
for(int i=test_stack_size-1; i>=0; --i)
|
||||||
std::cerr << " - " << Eigen::g_test_stack[i] << "\n";
|
std::cerr << " - " << Eigen::g_test_stack[i] << "\n";
|
||||||
std::cerr << "\n";
|
std::cerr << "\n";
|
||||||
abort();
|
abort();
|
||||||
|
Loading…
Reference in New Issue
Block a user