diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-08 16:19:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-09 08:11:05 +0200 |
commit | 1ab27f9ae6f32c7502884c02c2217bbdcf035c48 (patch) | |
tree | 3d8d074f96d32cd2f8d486c7bd991a07067adb04 /sccomp/source/solver/DifferentialEvolution.hxx | |
parent | loplugin:constfields in sd (diff) | |
download | core-1ab27f9ae6f32c7502884c02c2217bbdcf035c48.tar.gz core-1ab27f9ae6f32c7502884c02c2217bbdcf035c48.zip |
loplugin:constfields in scaddins,sccomp
Change-Id: I4d21cfcc65c099fbddbe5146fc1b8a6257971e32
Reviewed-on: https://gerrit.libreoffice.org/61555
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sccomp/source/solver/DifferentialEvolution.hxx')
-rw-r--r-- | sccomp/source/solver/DifferentialEvolution.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sccomp/source/solver/DifferentialEvolution.hxx b/sccomp/source/solver/DifferentialEvolution.hxx index 7d18821350aa..a71af6d82fe7 100644 --- a/sccomp/source/solver/DifferentialEvolution.hxx +++ b/sccomp/source/solver/DifferentialEvolution.hxx @@ -29,12 +29,12 @@ template <typename DataProvider> class DifferentialEvolutionAlgorithm DataProvider& mrDataProvider; - size_t mnPopulationSize; + size_t const mnPopulationSize; std::vector<Individual> maPopulation; std::random_device maRandomDevice; std::mt19937 maGenerator; - size_t mnDimensionality; + size_t const mnDimensionality; std::uniform_int_distribution<> maRandomPopulation; std::uniform_int_distribution<> maRandomDimensionality; |