Skip to content

Commit

Permalink
🩹 fix problem with include of YAML dependency
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Jan 22, 2025
1 parent 8dda907 commit 724c9ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/na/nasp/test_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <optional>
#include <stdexcept>
#include <tuple>
#include <yaml-cpp/node/parse.h>
#include <yaml-cpp/yaml.h> // NOLINT(*-include-cleaner)

TEST(Solver, SteaneDoubleSidedStorage) {
const auto& circ = qc::QuantumComputation(TEST_CIRCUITS_PATH "/steane.qasm");
Expand Down Expand Up @@ -166,6 +166,6 @@ TEST(Solver, YAMLRoundTrip) {
solver.solve(pairs, static_cast<uint16_t>(circ.getNqubits()), 4,
std::nullopt, false, true);
const auto resultRT = na::NASolver::Result::fromYAML(
YAML::Load(result.yaml())); // Round-Tripped result
YAML::Load(result.yaml())); // NOLINT(*-include-cleaner)
EXPECT_EQ(resultRT, result);
}

0 comments on commit 724c9ae

Please sign in to comment.