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

(feat) refactor are_eigenvalues_stable #178

Merged
merged 2 commits into from
Jun 10, 2023
Merged

(feat) refactor are_eigenvalues_stable #178

merged 2 commits into from
Jun 10, 2023

Conversation

ThibFrgsGmz
Copy link
Contributor

The following is a revised version of the are_eigenvalues_stable function with improved documentation, a clearer code structure and unit tests.

@codecov
Copy link

codecov bot commented Jun 10, 2023

Codecov Report

Patch coverage: 82.81% and project coverage change: +0.17 🎉

Comparison is base (2ee5225) 66.33% compared to head (002bac2) 66.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   66.33%   66.51%   +0.17%     
==========================================
  Files         127      127              
  Lines       32445    32458      +13     
==========================================
+ Hits        21524    21589      +65     
+ Misses      10921    10869      -52     
Impacted Files Coverage Δ
src/utils.rs 59.94% <82.81%> (+8.54%) ⬆️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

continue;
}
}
eigenvalues.iter().all(|ev| ev.re <= 0.0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha yup, that's infinitely simpler than the previous code and mathematically the same, thanks!

@ChristopherRabotin ChristopherRabotin merged commit 22b531f into nyx-space:master Jun 10, 2023
21 checks passed
@ThibFrgsGmz ThibFrgsGmz deleted the feat/impro_are_eigenvalues_stable branch June 11, 2023 06:06
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.

None yet

2 participants