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

bugfix: you should always check the parameter x1, x2 value of array2d.RowSpan(x1, x2, y int) []T method. #49

Closed
forbearing opened this issue Aug 14, 2023 · 1 comment

Comments

@forbearing
Copy link
Contributor

In array2d.RowSpan(x1, x2, y int) []T method, you should alway check the parameter value of x1 ,x2. it will panic if x2 less than x1.
The solution like below:
Screenshot 2023-08-14 at 09 17 56

@zyedidia
Copy link
Owner

Thanks, closed by #50.

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

2 participants