Update test_eigen.cpp

spelling mistakes
This commit is contained in:
Stefan 2016-01-10 11:43:19 +01:00 committed by Lorenz Meier
parent 9f009d0615
commit b274a3f6d1

View File

@ -226,7 +226,7 @@ int test_eigen(int argc, char *argv[])
TEST_OP("Vector3f length squared", v1.squaredNorm());
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
// Need pragma here intead of moving variable out of TEST_OP and just reference because
// Need pragma here instead of moving variable out of TEST_OP and just reference because
// TEST_OP measures performance of vector operations.
TEST_OP("Vector<3> element read", volatile float a = v1(0));
TEST_OP("Vector<3> element read direct", volatile float a = v1.data()[0]);