densityfit: Fix inconsistent use of iterators
authorAndrey Alekseenko <al42and@gmail.com>
Tue, 20 Oct 2020 16:19:34 +0000 (18:19 +0200)
committerAndrey Alekseenko <al42and@gmail.com>
Wed, 21 Oct 2020 09:34:37 +0000 (11:34 +0200)
commita96e538b04cf6ff1e983d62fa58fb6150ab0c97f
tree5c380fe124ad0fbaebb5397334063721ccf14132
parent2bcb9b3988df3a2ad8fc78ec2855b01fef62d53b
densityfit: Fix inconsistent use of iterators

and some typos

While both referenceDensity_ and referenceDensity are views into the
same data, it's clearer to use the same variable for both begin()
and end().
src/gromacs/math/densityfit.cpp