Support already factored H in DAQPProblem (#54)#59
Support already factored H in DAQPProblem (#54)#59kkofler wants to merge 1 commit intodarnstrom:masterfrom
Conversation
include/types.h (DAQPProblem): Add is_factored field and document it. src/utils.c (update_Rinv): Handle it: adapt the diagonal special case, and skip the factoring in the general case. Fixes darnstrom#54.
|
Thank you for this contribution! I think that the |
The compiler will actually automatically default the member at the end of the See, e.g., ISO C99 (9899:1999, or WG14/N1124 which is C99+TC1+TC2) 6.7.8§21, or the corresponding paragraph in ISO C90 6.5.7:
(The parts I cut out were added in C99 and are not relevant to the So, while we can move it to Though in the end it is your code and your decision. |
include/types.h (DAQPProblem): Add is_factored field and document it.
src/utils.c (update_Rinv): Handle it: adapt the diagonal special case, and skip the factoring in the general case.
Fixes #54.