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

Eliminate double parentheses when printing zp #256

Open
tobolar opened this issue Aug 7, 2024 · 0 comments · May be fixed by #257
Open

Eliminate double parentheses when printing zp #256

tobolar opened this issue Aug 7, 2024 · 0 comments · May be fixed by #257
Assignees
Labels
p::ZerosAndPoles Issue concerns ZerosAndPoles
Milestone

Comments

@tobolar
Copy link
Collaborator

tobolar commented Aug 7, 2024

For

Modelica_LinearSystems2.ZerosAndPoles(
  Modelica_LinearSystems2.TransferFunction(n={1}, d={1,2,3}));

it is returned

1 /  ( (p^2 + 2*p + 3) )

The outermost parentheses could be disabled in such a case.

@tobolar tobolar added the p::ZerosAndPoles Issue concerns ZerosAndPoles label Aug 7, 2024
@tobolar tobolar added this to the next_minor milestone Aug 7, 2024
@tobolar tobolar self-assigned this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p::ZerosAndPoles Issue concerns ZerosAndPoles
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant