Merged latest updates from trunk

This commit is contained in:
Benoit Steiner
2016-05-17 09:14:22 -07:00
2 changed files with 3 additions and 3 deletions

View File

@@ -16,8 +16,8 @@ using Eigen::RowMajor;
static void test_1d()
{
Tensor<float, 1> vec1({6});
Tensor<float, 1, RowMajor> vec2({6});
Tensor<float, 1> vec1(6);
Tensor<float, 1, RowMajor> vec2(6);
vec1(0) = 4.0; vec2(0) = 0.0;
vec1(1) = 8.0; vec2(1) = 1.0;