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

hinfnorm needs tweaking #584

Open
baggepinnen opened this issue Dec 25, 2021 · 0 comments
Open

hinfnorm needs tweaking #584

baggepinnen opened this issue Dec 25, 2021 · 0 comments

Comments

@baggepinnen
Copy link
Member

hinfnorm fails occasionally and it would be nice to come up with better default values for the tolerances etc.

success = map(1:10000) do i
    G = ssrand(1,1,4)
    try 
        hinfnorm(G)
        true
    catch
        @show poles(G), tzeros(G)
        false
    end
end
mean(success)

it fails in about 0.5% of these random cases, which is a bit much to rely on in CI etc.

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