Skip to content

Commit

Permalink
Fix checking whether stream is open
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnorri committed Dec 11, 2023
1 parent 1314324 commit 441bd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcf2multialign/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ namespace {
std::uint32_t const gt
) override
{
if (overlapping_alternatives_os)
if (overlapping_alternatives_os.is_open())
{
// Output as TSV.
overlapping_alternatives_os << lineno << '\t' << ref_pos << '\t';
Expand Down

0 comments on commit 441bd6c

Please sign in to comment.