]> gitweb.michael.orlitzky.com - sage.d.git/commit
cone/rearrangement.py: fix the test for propriety.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 12 Nov 2018 03:11:53 +0000 (22:11 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 12 Nov 2018 03:11:53 +0000 (22:11 -0500)
commit8bed8a3c21a0d19d01a7625b3849ac07c9a9f9e6
tree5eeeaf9a07c6286c1e88d9f82f12701795113c61
parentd6b360ff88d5c1b0e7d29a06bd85d0dcc1e6eac9
cone/rearrangement.py: fix the test for propriety.

We had a test for the rearrangement cone being proper, but it
incorrectly tested the p=0 case. Now that we're sanity-checking p,
that test was throwing a ValueError. Fix it to use p >= 1.
mjo/cone/rearrangement.py