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

Refactor Matrix::get, Matrix::set #1360

Closed
jaeandersson opened this issue Mar 16, 2015 · 0 comments
Closed

Refactor Matrix::get, Matrix::set #1360

jaeandersson opened this issue Mar 16, 2015 · 0 comments
Assignees
Milestone

Comments

@jaeandersson
Copy link
Member

The Matrix::get, Matrix::set, Matrix::getArray etc. routines are neither maintainable (look at the typemaps), nor complete (some options will throw errors). They also have public API including vector<SXElement> and SXElement (which should not be allowed, cf. #1322).

Furthermore, there is a serious ambiguity problem, where Matrix::set(vector<DataType>) means one thing and ``Matrix::set(Matrix(vector))` means something else.

This will require refactoring and unavoidable syntax change (to resolve the ambiguity).

@jaeandersson jaeandersson self-assigned this Mar 16, 2015
@jaeandersson jaeandersson added this to the Version 2.4.0 milestone Mar 16, 2015
jaeandersson added a commit that referenced this issue Mar 17, 2015
jaeandersson added a commit that referenced this issue Mar 17, 2015
jaeandersson added a commit that referenced this issue Mar 17, 2015
jaeandersson added a commit that referenced this issue Mar 17, 2015
jaeandersson added a commit that referenced this issue Mar 17, 2015
jaeandersson added a commit that referenced this issue Mar 17, 2015
jaeandersson added a commit that referenced this issue Mar 19, 2015
jaeandersson added a commit that referenced this issue Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant