Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

allow float precision in result assertions#615

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

bnavigator
Copy link
Contributor

@bnavigatorbnavigator commentedApr 24, 2021
edited
Loading

Fix the current CI with Conda Python 3.9 libraries fail.

@coveralls
Copy link

coveralls commentedApr 24, 2021
edited
Loading

Coverage Status

Coverage remained the same at 89.476% when pulling8a56d67 on bnavigator:py39-float-tests intoe81f648 on python-control:master.

@bnavigatorbnavigator changed the titleallow float precision in test_dampallow float precision in result assertionsApr 24, 2021
@bnavigator
Copy link
ContributorAuthor

StateSpace matrices are always of dtype float (or complex, if#484 ever gets adopted), so comparing them to integer reference values can have a float precision error.

Not necessarily true for TransferFunction right now, but keep the same logic.

@bnavigator
Copy link
ContributorAuthor

Merging now, so that other PRs can be checked properly again.

@bnavigatorbnavigator merged commita6a5bee intopython-control:masterApr 29, 2021
@murrayrmmurrayrm added this to the0.9.1 milestoneDec 30, 2021
@bnavigatorbnavigator deleted the py39-float-tests branchFebruary 18, 2024 20:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
0.9.1
Development

Successfully merging this pull request may close these issues.

3 participants
@bnavigator@coveralls@murrayrm

[8]ページ先頭

©2009-2025 Movatter.jp