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

Fix some problems for comparisons between tfs #622

Merged
merged 4 commits into from
Jan 28, 2022
Merged

Conversation

albheim
Copy link
Member

@albheim albheim commented Jan 28, 2022

The tests added here would have returned incorrectly before, thanks to incorrect indexing into the polynomials.

Fix indexing, add tests for the previous error and fix new test error that was previously hidden by allowing approximate comparison between polynomials of different sizes.

@JuliaControlBot
Copy link

This is an automated message.
Plots were compared to references. 9/11 images have changed, see differences below.
After pulling this PR, please update the reference images by creating a PR to ControlExamplePlots.jl here.

Difference Reference Image New Image
✔️ 0.003 Reference New
✔️ 0.003 Reference New
✔️ 0.0 Reference New
✔️ 0.001 Reference New
✔️ 0.0 Reference New
✔️ 0.0 Reference New
❌ 0.042 Reference New
✔️ 0.006 Reference New
✔️ 0.011 Reference New

@codecov
Copy link

codecov bot commented Jan 28, 2022

Codecov Report

Merging #622 (35f9c62) into master (35f2d67) will decrease coverage by 0.02%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #622      +/-   ##
==========================================
- Coverage   86.80%   86.77%   -0.03%     
==========================================
  Files          31       31              
  Lines        3243     3260      +17     
==========================================
+ Hits         2815     2829      +14     
- Misses        428      431       +3     
Impacted Files Coverage Δ
src/types/SisoTfTypes/SisoRational.jl 79.51% <80.00%> (-0.49%) ⬇️
src/matrix_comps.jl 93.18% <0.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35f2d67...35f9c62. Read the comment docs.

@baggepinnen baggepinnen merged commit a9ad53d into master Jan 28, 2022
@baggepinnen baggepinnen deleted the albheim/tf_compare branch January 28, 2022 14:03
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.

3 participants