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

代码中有个很严重的Bug #85

Open
mshmoon opened this issue Nov 8, 2021 · 0 comments
Open

代码中有个很严重的Bug #85

mshmoon opened this issue Nov 8, 2021 · 0 comments

Comments

@mshmoon
Copy link

mshmoon commented Nov 8, 2021

在判断一个点是否落于三角行内,当出现如下情形:
variable1 = np.array([[0, 20],
[20, 20],
[20, 20]])
variable2=np.array([x,x])时,
isPointInTri(variable2, variable1) 这个函数的判断结果都为True,
也就是说,无论x为何值,结果都是True

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