From b1a862749362572a0c1075e2381e6dd58a71c3fb Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Tue, 5 Mar 2019 11:19:25 -0800 Subject: Do not create Tensor in cxx11_tensor_forced_eval test --- unsupported/test/cxx11_tensor_forced_eval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/cxx11_tensor_forced_eval.cpp') diff --git a/unsupported/test/cxx11_tensor_forced_eval.cpp b/unsupported/test/cxx11_tensor_forced_eval.cpp index f76e2ea97..a21a02bec 100644 --- a/unsupported/test/cxx11_tensor_forced_eval.cpp +++ b/unsupported/test/cxx11_tensor_forced_eval.cpp @@ -61,7 +61,7 @@ static void test_const() Eigen::array bcast; bcast[0] = 3; bcast[1] = 1; - const TensorMap > input_tensor(input.data(), 3, 3); + const TensorMap > input_tensor(input.data(), 3, 3); Tensor output_tensor= (input_tensor - input_tensor.maximum(depth_dim).eval().reshape(dims2d).broadcast(bcast)); for (int i = 0; i < 3; ++i) { -- cgit v1.2.3