With optimisation on, this Ubuntu version's compiler was miscompiling find_longest_stretch() such that it would always crash. Adding the missing return makes it optimise the function correctly. Fixes #92.
Similarly update trace_back() even though it appears to be currently unused.
You may want to consider investigating any other warnings produced while compiling GangSTR :smile:
With optimisation on, this Ubuntu version's compiler was miscompiling
find_longest_stretch()
such that it would always crash. Adding the missingreturn
makes it optimise the function correctly. Fixes #92.Similarly update
trace_back()
even though it appears to be currently unused.You may want to consider investigating any other warnings produced while compiling GangSTR :smile: