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

Broken function: polyZonotope.slice_dep #4

Open
rahulswa08 opened this issue Mar 22, 2024 · 0 comments
Open

Broken function: polyZonotope.slice_dep #4

rahulswa08 opened this issue Mar 22, 2024 · 0 comments

Comments

@rahulswa08
Copy link
Collaborator

rahulswa08 commented Mar 22, 2024

The function outputs an error upon execution, TypeError: any() got an unexpected keyword argument 'dim'

Code:

x0 = [1.57,0.1]
x0_range = [0.75,0.01]

x_zono: zp.polyZonotope = zp.polyZonotope([[1.0],[1.0]], n_dep_gens=1, id=0, device='cpu')
y_zono: zp.polyZonotope = zp.polyZonotope([[2.0],[2.0]], n_dep_gens= 1, id=1, device='cpu')
z_zono: zp.polyZonotope = zp.polyZonotope([[3.0],[3.0]], n_dep_gens= 1, id=2, device='cpu')
mul_pz: zp.polyZonotope = x_zono*y_zono*z_zono
mul_pz.slice_dep(0,0)

Output:
image

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