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

Revise translate and translate! #3525

Merged
merged 1 commit into from
Jun 8, 2024
Merged

Revise translate and translate! #3525

merged 1 commit into from
Jun 8, 2024

Conversation

schillic
Copy link
Member

@schillic schillic commented Jun 1, 2024

  • I lifted the default implementation translate(Z::AbstractZonotope, v) = translate!(copy(Z), v)) to LazySet. This saves lots of identical implementations.
  • I downgraded the implementation translate!(::AbstractZonotope, ::AbstractVector) to Zonotope because it did not apply to most other subtypes and crashed.

@schillic schillic marked this pull request as ready for review June 1, 2024 20:06
@schillic schillic merged commit 2f6d8c7 into master Jun 8, 2024
7 checks passed
@schillic schillic deleted the schillic/translate branch June 8, 2024 12:45
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.

2 participants