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

Ap phaseslope range #400

Merged
merged 5 commits into from
Jun 25, 2024

Conversation

AurelienJaquier
Copy link
Collaborator

@AurelienJaquier AurelienJaquier commented Jun 25, 2024

Description

Please include a summary of the change.
By default the change will increment the patch version.
To increment major or minor changes add #major or #minor to the PR description.

Checklist:

  • Unit tests are added to cover the changes (skip if not applicable).
  • The changes are mentioned in the documentation (skip if not applicable).
  • CHANGELOG file is updated (skip if not applicable).

@AurelienJaquier AurelienJaquier self-assigned this Jun 25, 2024
@ilkilic
Copy link
Collaborator

ilkilic commented Jun 25, 2024

I think we can also change the argument to int here then:

double range) {

and then we won't need the type conversion
range_min_index = apbegin_index - int(range);

range_max_index = apbegin_index + int(range);

@AurelienJaquier
Copy link
Collaborator Author

I think we can also change the argument to int here then:

double range) {

and then we won't need the type conversion

range_min_index = apbegin_index - int(range);

range_max_index = apbegin_index + int(range);

Indeed. Fixed in latest commit.

Copy link
Collaborator

@ilkilic ilkilic left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good to me

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.24%. Comparing base (2cddd26) to head (329110d).
Report is 21 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #400      +/-   ##
==========================================
+ Coverage   91.73%   92.24%   +0.50%     
==========================================
  Files          36       37       +1     
  Lines        6278     7116     +838     
  Branches     2033     2283     +250     
==========================================
+ Hits         5759     6564     +805     
- Misses        266      271       +5     
- Partials      253      281      +28     

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

@AurelienJaquier AurelienJaquier merged commit fa85d8c into BlueBrain:master Jun 25, 2024
20 checks passed
@AurelienJaquier AurelienJaquier deleted the ap-phaseslope-range branch June 25, 2024 14:55
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