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

Add generic type support #5

Merged
merged 3 commits into from
Jun 3, 2024
Merged

Add generic type support #5

merged 3 commits into from
Jun 3, 2024

Conversation

sunsided
Copy link
Owner

@sunsided sunsided commented Jun 3, 2024

This makes the filter and matrix types generic on T, which defaults to f32. This should be the first step in supporting arbitrary precision and fixed-point calculation.

@sunsided sunsided self-assigned this Jun 3, 2024
@sunsided sunsided force-pushed the feature/type-generics branch from c971398 to 87a6299 Compare June 3, 2024 20:08
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

Attention: Patch coverage is 85.21401% with 38 lines in your changes missing coverage. Please review.

Project coverage is 87.20%. Comparing base (0dfef1a) to head (87a6299).
Report is 1 commits behind head on main.

Files Patch % Lines
src/kalman.rs 69.89% 28 Missing ⚠️
src/matrix.rs 93.06% 7 Missing ⚠️
src/measurement.rs 95.23% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   86.96%   87.20%   +0.23%     
==========================================
  Files           4        4              
  Lines        1343     1391      +48     
==========================================
+ Hits         1168     1213      +45     
- Misses        175      178       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sunsided sunsided merged commit 6a1a498 into main Jun 3, 2024
6 of 7 checks passed
@sunsided sunsided deleted the feature/type-generics branch June 3, 2024 20:14
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.

1 participant