Removed incorrect type hints#11711
Conversation
tianyizheng02
left a comment
There was a problem hiding this comment.
Your changes are good and address the linked issue, but could you also add unit tests to these functions as well?
All algorithm files should have unit tests anyway, and not having tests is why we didn't catch the errors in this file for so long. If you can, we'd appreciate it if you could help us remedy this issue in case there are any other errors in this file.
|
Sure. Will do that |
|
Actually, it looks like another contributor has added doctests in a different PR: #11721 I can approve your PR without unit tests as well as their PR with unit tests. That way, this file gets unit tests and both of you get to have a PR approved. |
tianyizheng02
left a comment
There was a problem hiding this comment.
No unit tests, but this will be covered by #11721 (see previous comment)
Describe your change:
Fixes #11701
Checklist: