Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: '<' not supported between instances of 'float' and 'tuple' #7

Open
zhouliang-yu opened this issue May 9, 2022 · 0 comments

Comments

@zhouliang-yu
Copy link

Hi @stuntgoat , thanks for your code.
There is an issure when I run your code directly.
at function assign_points

shortest = ()

this initialization of the variable shortes will cause the error below

TypeError: '<' not supported between instances of 'float' and 'tuple'

so one way to solve this problem is to initialize the variable with a big integer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant