I am generating code from Matlab with osqp-0.5.0.
In workspace.h, the linsys_solver_bwork is of type c_int. According to qldl_interface.h, the qdldl_solver struct expects a pointer of type QDLDL_bool. As QDLDL_bool (or QDLDL_BOOL_TYPE respectively) is not set anywhere, QDLDL_bool defaults to int. Is there a reason that QDLDL_BOOL_TYPE is not set anywhere?
Also, from the name, I would expect QDLDL_bool to be a boolean type. However, the values in linsys_solver_bwork contain integers unequal to 0 or 1. Is this just a confusing naming?
Thanks and best regards
Michael
Hi,I am generating code from Matlab with osqp-0.5.0.
In workspace.h, the linsys_solver_bwork is of type c_int.
According to qldl_interface.h, the qdldl_solver struct expects a pointer of type QDLDL_bool. As QDLDL_bool (or QDLDL_BOOL_TYPE respectively) is not set anywhere, QDLDL_bool defaults to int. Is there a reason that QDLDL_BOOL_TYPE is not set anywhere?
Also, from the name, I would expect QDLDL_bool to be a boolean type. However, the values in linsys_solver_bwork contain integers unequal to 0 or 1. Is this just a confusing naming?