SeBecker / dc-egm

1 stars 1 forks source link

Fix needed polyline functions #1

Closed boryana-ilieva closed 5 years ago

boryana-ilieva commented 5 years ago

We want to revisit the translated poly line functions as to ensure that they can handle inputs generated in previous steps and that results are the same as in the MatLab code.

SeBecker commented 5 years ago

I replaced the sort function with the sort method from numpy. Additionally I reorganized the diff and chop function. They should work as intended from now on.