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

#1099: Count phases as unsigned and avoid mixed arithmetic/comparisons #1101

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

PhilMiller
Copy link
Member

@PhilMiller PhilMiller commented Sep 29, 2020

Fixes #1099

@lifflander
Copy link
Collaborator

I do prefer uint32_t, but this is fine.

@PhilMiller
Copy link
Member Author

And I prefer languages that implement faithful math, and don't make programmers dance around conversion rules :-)

@codecov
Copy link

codecov bot commented Sep 29, 2020

Codecov Report

Merging #1101 into develop will not change coverage.
The diff coverage is 50.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1101   +/-   ##
========================================
  Coverage    77.71%   77.71%           
========================================
  Files          671      671           
  Lines        25855    25855           
========================================
  Hits         20092    20092           
  Misses        5763     5763           
Impacted Files Coverage Δ
...c/vt/vrt/collection/balance/model/composed_model.h 100.00% <ø> (ø)
src/vt/vrt/collection/balance/model/linear_model.h 100.00% <ø> (ø)
src/vt/vrt/collection/balance/model/load_model.h 100.00% <ø> (ø)
...t/vrt/collection/balance/model/naive_persistence.h 100.00% <ø> (ø)
.../vt/vrt/collection/balance/model/per_collection.cc 76.92% <0.00%> (ø)
...c/vt/vrt/collection/balance/model/per_collection.h 100.00% <ø> (ø)
...llection/balance/model/persistence_median_last_n.h 100.00% <ø> (ø)
src/vt/vrt/collection/balance/model/raw_data.h 100.00% <ø> (ø)
src/vt/vrt/collection/balance/node_stats.h 100.00% <ø> (ø)
...nit/collection/test_model_multiple_phases.nompi.cc 86.66% <0.00%> (ø)
... and 12 more

Copy link
Collaborator

@lifflander lifflander left a comment

Choose a reason for hiding this comment

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

Looks good

@lifflander lifflander merged commit bee61ce into develop Sep 30, 2020
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.

Warning comparing signed/unsigned in NodeStats
3 participants