Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-31466: Fix spatialOrder minimum value to avoid seg-fault. #59

Merged
merged 1 commit into from Aug 19, 2021

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Aug 18, 2021

No description provided.

@@ -268,6 +270,12 @@ def testPsfexDeterminer(self):
self.assertEqual(psf.computeBBox(), psf.computeKernelImage().getBBox())
self.assertEqual(psf.computeBBox(), psf.getKernel().getBBox())

def test_dm_31466(self):
"""Test that there is no seg-fault if order is set to 0."""

Choose a reason for hiding this comment

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

I don't really object to this test really, but it doesn't actually test what the previous fail case was; setting this equal to zero never segfaultted at the config set point, the issue was that the config allowed the wrong value, and then segfaulted on running.

I think that this can be deleted, as this is really nothing more than a test that pexConfig options abide by their limits, and I'm sure that's tested extensively elsewhere.

@erykoff erykoff merged commit c1211bb into master Aug 19, 2021
@erykoff erykoff deleted the tickets/DM-31466 branch August 19, 2021 03:52
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.

None yet

2 participants