From ed4e773073e9e6f01a1cafac465bb99d586a9d81 Mon Sep 17 00:00:00 2001 From: Yixuan Qiu Date: Wed, 1 Jan 2025 19:26:53 +0800 Subject: [PATCH] turn off clang-format for specific cases --- test/Arnoldi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Arnoldi.cpp b/test/Arnoldi.cpp index a38bfc9..4533aa5 100644 --- a/test/Arnoldi.cpp +++ b/test/Arnoldi.cpp @@ -15,6 +15,7 @@ using Matrix = Eigen::MatrixXd; using Vector = Eigen::VectorXd; using Index = Eigen::Index; +// clang-format off template void run_test(FacType& fac, const MatType& A, int m) { @@ -82,6 +83,7 @@ void run_test(FacType& fac, const MatType& A, int m) REQUIRE(resid.leftCols(k3 - 1).cwiseAbs().maxCoeff() == Approx(0.0).margin(tol)); REQUIRE((resid.template rightCols<1>() - f).cwiseAbs().maxCoeff() == Approx(0.0).margin(tol)); } +// clang-format on TEST_CASE("Arnoldi factorization of general real matrix", "[Arnoldi]") {