From 0f309f347c74c6945f01af6f6b14aab033728540 Mon Sep 17 00:00:00 2001 From: Will Simmons Date: Thu, 4 Apr 2024 10:39:18 +0100 Subject: [PATCH] Exclude lines from gcovr for debug method --- tket/src/Converters/ChoiMixTableauConverters.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tket/src/Converters/ChoiMixTableauConverters.cpp b/tket/src/Converters/ChoiMixTableauConverters.cpp index 7df4bb9f46..624b0dc657 100644 --- a/tket/src/Converters/ChoiMixTableauConverters.cpp +++ b/tket/src/Converters/ChoiMixTableauConverters.cpp @@ -220,6 +220,7 @@ ChoiMixBuilder::ChoiMixBuilder( } // DEBUG METHOD: Ignore this for coverage checks +// GCOVR_EXCL_START ChoiMixTableau ChoiMixBuilder::realised_tableau() const { ChoiMixTableau in_tab = circuit_to_cm_tableau(in_circ); for (const Qubit& q : post_selected) @@ -242,6 +243,7 @@ ChoiMixTableau ChoiMixBuilder::realised_tableau() const { out_in_permutation, ChoiMixTableau::TableauSegment::Output); return ChoiMixTableau::compose(ChoiMixTableau::compose(in_tab, tab), out_tab); } +// GCOVR_EXCL_STOP void ChoiMixBuilder::solve_id_subspace() { // Input-first gaussian elimination to solve input-sides of remaining rows