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

Add virtual destructor to StateVector class #188

Closed
mlxd opened this issue Dec 13, 2021 · 0 comments · Fixed by #200
Closed

Add virtual destructor to StateVector class #188

mlxd opened this issue Dec 13, 2021 · 0 comments · Fixed by #200

Comments

@mlxd
Copy link
Member

mlxd commented Dec 13, 2021

Issue description

The Lightning StateVector class currently does not define a virtual destructor. This raises the usual problems when subclassing.

Note: Add ~virtual StateVector(){} to class definition.

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 a pull request may close this issue.

1 participant