drlukeparry/pyslm

Sorting strategy `UnidirectionalSort` does not seem to return the hatching

Closed this issue · 3 comments

I might be wrong, but I think here a simple return of the input hatching is missing?

""" This approach simply flips the odd pair of hatches"""

Also I want to thank you for your effort to make such a well-documented and concise library. Bravo!

thank you for your nice comments.

The actual class is more of a placeholder - it does not actually modify the hatch vectors... It would be better if it can take a set of mis-orientated vectors and re-align them preferably in one direction but the situations were this occurs is very unlikely.

That does make sense hearing it from your perspective now. What bothers me a bit as a user of the api though is that the hatch function of the other Hatcher classes are inconsistent with the unidirectional class. That's why I wrote this issue in the first place.