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

Simplify NoiseStatus #17

Closed
wants to merge 2 commits into from

Conversation

FreezyLemon
Copy link

The error inside NoiseStatus::Error is never read anywhere (clippy complains about this too). We could

  1. Propagate the error outwards (from DiffGenerator::diff_frame_internal) or
  2. Remove the inner error information (this PR)

Seems like the simpler solution to me.

- Remove anyhow::Error field from Error variant
- Rename/move to solver::NoiseModelStatus
@coveralls
Copy link

coveralls commented Apr 1, 2024

Pull Request Test Coverage Report for Build 8507493696

Details

  • 0 of 10 (0.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 26.708%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/diff.rs 0 1 0.0%
src/diff/solver.rs 0 9 0.0%
Files with Coverage Reduction New Missed Lines %
src/diff.rs 1 0.0%
Totals Coverage Status
Change from base Build 7409066287: 0.2%
Covered Lines: 555
Relevant Lines: 2078

💛 - Coveralls

@FreezyLemon
Copy link
Author

I'll include this in #18 to fix CI errors.

@FreezyLemon FreezyLemon closed this Apr 1, 2024
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.

2 participants