Skip to content

Commit dd63bc2

Browse files
committed
test/tensor: fix potentiel conflict with Eigen::print
1 parent a9f12d3 commit dd63bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittest/tensor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ void print(const Tensor& tensor) {
3838

3939
template <typename Tensor>
4040
void print_ref(const Eigen::TensorRef<const Tensor> tensor) {
41-
print(tensor);
41+
::print(tensor);
4242
}
4343

4444
template <typename Tensor>
4545
void print_base(const Eigen::TensorBase<Tensor>& tensor) {
46-
print(tensor);
46+
::print(tensor);
4747
}
4848

4949
template <typename Tensor>

0 commit comments

Comments
 (0)