Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliakasndr Dziarkach authored and Aliakasndr Dziarkach committed Aug 29, 2024
1 parent 6ade1c2 commit 7d98de4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/indigo-core/molecule/src/sequence_saver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,8 @@ std::string SequenceSaver::saveHELM(KetDocument& document, std::vector<std::dequ
if (sa.subscript.size() != 0 && sa.subscript.ptr()[0] != 0)
continue;
// convert leaving atom H to rg-ref
auto& atom_to_ap = mol_atom_to_ap.try_emplace(mol_id).first;
auto res = mol_atom_to_ap.try_emplace(mol_id);
auto& atom_to_ap = res.first;
static std::string apid_prefix{'R'};
Array<int> leaving_atoms;
for (int ap_id = sa.attachment_points.begin(); ap_id != sa.attachment_points.end(); ap_id = sa.attachment_points.next(ap_id))
Expand Down

0 comments on commit 7d98de4

Please sign in to comment.