Skip to content

Commit

Permalink
step 1
Browse files Browse the repository at this point in the history
  • Loading branch information
even1024 committed Dec 30, 2024
1 parent 5119605 commit abdef6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/indigo-core/reaction/reaction_multistep_detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace indigo
std::vector<std::unique_ptr<BaseMolecule>> _components;
std::vector<MOL_DISTANCES_DESC> _mol_distances;
std::vector<SPECIAL_ZONE_DESC> _zones;
size_t _moleculeCount;
int _moleculeCount;
};

} // namespace indigo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ void ReactionMultistepDetector::mergeCloseComponents()
}
}
_components.erase(std::remove_if(_components.begin(), _components.end(), [](auto& p) { return !p; }), _components.end());
_moleculeCount = _components.size();
_moleculeCount = (int)_components.size();
}

bool ReactionMultistepDetector::isMergeable(size_t mol_idx1, size_t mol_idx2)
Expand Down

0 comments on commit abdef6a

Please sign in to comment.