Skip to content

Add bindings for update_vector_data and update_matrix_data.#4

Open
JonasBreuling wants to merge 2 commits intoqoco-org:mainfrom
JonasBreuling:update_data
Open

Add bindings for update_vector_data and update_matrix_data.#4
JonasBreuling wants to merge 2 commits intoqoco-org:mainfrom
JonasBreuling:update_data

Conversation

@JonasBreuling
Copy link

This PR adds python bindings for update_vector_data and update_matrix_data. It depends on qoco-org/qoco#44 since minor changes to the C-code are required.

@govindchari
Copy link
Member

Looks good, but can you add some unit tests to test out the new update functions?

Gxnew_ptr = (QOCOFloat *)buf.ptr;
}

return qoco_update_matrix_data(this->_solver, Pxnew_ptr, Axnew_ptr, Gxnew_ptr);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the return here since the qoco_update_matrix_data() function is void. Same with the update_vector_data()

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

Successfully merging this pull request may close these issues.

2 participants