mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Fixed a compilation warning
This commit is contained in:
parent
bb6acc561e
commit
6a9a29e96f
@ -240,8 +240,8 @@ static void test_memcpy() {
|
||||
t1.setRandom();
|
||||
std::vector<float> result(size);
|
||||
thread_pool_device.memcpy(&result[0], t1.data(), size*sizeof(float));
|
||||
for (int i = 0; i < size; i++) {
|
||||
VERIFY_IS_EQUAL(t1(i), result[i]);
|
||||
for (int j = 0; j < size; j++) {
|
||||
VERIFY_IS_EQUAL(t1(j), result[j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user