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

Dimension issues inside read_ctrlpts #3

Closed
jedufour opened this issue Mar 8, 2017 · 1 comment
Closed

Dimension issues inside read_ctrlpts #3

jedufour opened this issue Mar 8, 2017 · 1 comment
Labels
bug There is a problem with the coding or algorithms

Comments

@jedufour
Copy link

jedufour commented Mar 8, 2017

If the number of points along U and V are not the same, then this line produce an 'out-of-range' error:
ctrlpts_v.append(self._mCtrlPts[i + (j * self._mCtrlPts_sizeV)])

I think it should be j + (i * self._mCtrlPts_sizeV)

@orbingol orbingol assigned orbingol and unassigned orbingol Mar 8, 2017
@orbingol
Copy link
Owner

orbingol commented Mar 8, 2017

Fixed in PR #4

@orbingol orbingol closed this as completed Mar 8, 2017
@orbingol orbingol added the bug There is a problem with the coding or algorithms label Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There is a problem with the coding or algorithms
Projects
None yet
Development

No branches or pull requests

2 participants