Skip to content

Commit

Permalink
Fixed behaviour of string modification in lattice surgery output
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlambert committed May 15, 2024
1 parent 9561998 commit 0b0b471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/staq/output/lattice_surgery.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ void output_lattice_surgery(ast::Program& prog, bool skip_clifford = false,
throw;
}
}
std::cout << out.dump(2) << "\n";
os << out.dump(2) << "\n";
}

/** \brief Compiles an AST into lattice surgery instructions to a given output
Expand Down

0 comments on commit 0b0b471

Please sign in to comment.