From: David Wells Date: Wed, 14 Jun 2023 21:37:45 +0000 (-0400) Subject: tests: Avoid a test link error. X-Git-Tag: v9.5.0-rc1~99^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f483e099ac051f032906189df8e383b4286a9cc;p=dealii.git 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. --- 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;