Fixed another batch of compilation warnings

This commit is contained in:
Benoit Steiner
2015-02-28 02:32:46 -08:00
parent fb53384b0f
commit bb483313f6
9 changed files with 35 additions and 35 deletions

View File

@@ -67,7 +67,7 @@ static void test_contractions()
Eigen::array<DimPair, 2> dims({{DimPair(2, 0), DimPair(3, 1)}});
t_result = t_left.contract(t_right, dims);
m_result = m_left * m_right;
for (size_t i = 0; i < t_result.dimensions().TotalSize(); i++) {
for (int i = 0; i < t_result.dimensions().TotalSize(); i++) {
VERIFY_IS_APPROX(t_result.data()[i], m_result.data()[i]);
}
}