diff --git a/io/cigar.h b/io/cigar.h index 529c9dad..d032af77 100644 --- a/io/cigar.h +++ b/io/cigar.h @@ -98,6 +98,9 @@ namespace cigar { if (res == tags.end()) return {}; + if (!std::holds_alternative(res->val)) + return {}; + return std::get(res->val); } } \ No newline at end of file