From 8f483e099ac051f032906189df8e383b4286a9cc Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 14 Jun 2023 17:37:45 -0400 Subject: [PATCH] tests: Avoid a test link error. For some reason this doesn't work in debug mode. When we require C++17 we can use proper inline constexpr variables so its not worth bothering with a proper fix. --- tests/tensors/copy_from_01.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tensors/copy_from_01.cc b/tests/tensors/copy_from_01.cc index d5e68e0864..8c8d08d666 100644 --- a/tests/tensors/copy_from_01.cc +++ b/tests/tensors/copy_from_01.cc @@ -40,7 +40,7 @@ main() myMatrix.copy_to(myTensor); - deallog << myTensor.dimension << std::endl; + deallog << matrix_dimension << std::endl; deallog.get_file_stream() << myTensor << std::endl; myTensor *= 2; -- 2.39.5