Closed XiangLiKyle closed 4 years ago
Good catch! I'm actually going to propose findUnitig() and searchSequence() in const and non-const member functions to be able to work with both ;) As I have some new code for searchSequence() (should be slightly faster than the current one), I will also update that at the same time. Should be ready for tomorrow evening but in the meantime, I keep this issue open.
Thanks!
findUnitig() and searchSequence() are now available as const and non-const member functions.
findUnitig() and searchSequence() are now available as const and non-const member functions.
Thank you!
I tried to use the function searchSequence in CompactedDBG, and there was error showed:
And I found that searchSequence is a const member function but findUnitig is not. So I modified searchSequence to a non-const member function and no compile error this time.