This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #30200: fix the implementation of the "majorization order."
I have used the phrase "majorization order" in the cone catalogue in a few places. It is however only a preorder, and not a partial order, so the first order of business is to change that phrase. There was also one test case that used a majorized_by() function whose implementation was incorrect. No harm was caused by this, but as a personal rule I prefer it if a function called majorized_by() actually implements the majorization order. This commit fixes that as well, by rearranging the arguments' elements in nonincreasing order, so that the function truly tests whether or not one argument majorizes the other.
- Loading branch information