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

getProjectionCone might segfault #180

Closed
sebasguts opened this issue Apr 3, 2018 · 0 comments
Closed

getProjectionCone might segfault #180

sebasguts opened this issue Apr 3, 2018 · 0 comments

Comments

@sebasguts
Copy link
Member

sebasguts commented Apr 3, 2018

getProjectCone dereferences the pointer to the projection cone. Apparently, it happens that this pointer points to an invalid address even if ProjectCone is marked as computed.

import PyNormaliz
NP = PyNormaliz.NmzCone(['vertices', [[0, 0, 1]], 'cone', [], 'subspace', [[2, 2]]])
PyNormaliz.NmzResult(NP,"ProjectCone")
sebasguts added a commit to sebasguts/Normaliz that referenced this issue Apr 3, 2018
if no projection coordinates are set. Closes Normaliz#180.
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

No branches or pull requests

1 participant