Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

fixes for -Wextra -Wpedantic -Wshadow -Wconversion #47

Merged
merged 10 commits into from
Oct 26, 2019
Merged

Conversation

junghans
Copy link
Member

@junghans junghans commented Oct 24, 2019

Part of votca/votca#212

@@ -209,7 +209,7 @@ void CsgFluctuations::EvalConfiguration(Topology *conf,
}
}
if (r > _rmin && r < _rmax) {
rbin = (int)_nbins * (double)((r - _rmin) / (_rmax - _rmin));
Copy link
Member

Choose a reason for hiding this comment

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

looks a lot like a histogram..hmm.

Copy link
Member Author

Choose a reason for hiding this comment

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

True, do you want to refactor?

@codecov
Copy link

codecov bot commented Oct 24, 2019

Codecov Report

Merging #47 into master will increase coverage by 0.3%.
The diff coverage is 3.3%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #47     +/-   ##
========================================
+ Coverage    22.1%   22.4%   +0.3%     
========================================
  Files          10      10             
  Lines         953     938     -15     
========================================
  Hits          211     211             
+ Misses        742     727     -15
Flag Coverage Δ
#doxygen 33.3% <28.5%> (+0.1%) ⬆️
#gcc 21.2% <0%> (+0.3%) ⬆️
Impacted Files Coverage Δ
traj_force/traj_force.cc 22% <0%> (ø) ⬆️
radii/radii.cc 31.3% <0%> (-0.7%) ⬇️
partial_rdf/rdf_calculator.cc 1.6% <0%> (ø) ⬆️
partial_rdf/rdf_calculator.h 26.5% <0%> (ø) ⬆️
orientcorr/orientcorr.cc 23.8% <0%> (ø) ⬆️
sphericalorder/sphericalorder.cc 19.5% <33.3%> (+0.4%) ⬆️
fluctuations/fluctuations.cc 25.8% <5.8%> (+1.6%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd8e837...4e5ef01. Read the comment docs.

@junghans junghans mentioned this pull request Oct 25, 2019
@junghans junghans merged commit 1ba2746 into master Oct 26, 2019
@junghans junghans deleted the more_warnings branch October 26, 2019 01:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants