19 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
| /*
 | |
|     tests/eigen_tensor.cpp -- automatic conversion of Eigen Tensor
 | |
| 
 | |
|     All rights reserved. Use of this source code is governed by a
 | |
|     BSD-style license that can be found in the LICENSE file.
 | |
| */
 | |
| 
 | |
| #define PYBIND11_TEST_EIGEN_TENSOR_NAMESPACE eigen_tensor
 | |
| 
 | |
| #ifdef EIGEN_AVOID_STL_ARRAY
 | |
| #    undef EIGEN_AVOID_STL_ARRAY
 | |
| #endif
 | |
| 
 | |
| #include "test_eigen_tensor.inl"
 | |
| 
 | |
| #include "pybind11_tests.h"
 | |
| 
 | |
| test_initializer egien_tensor("eigen_tensor", eigen_tensor_test::test_module);
 |