From b1a02d6ec1cd29e9c62675fee1a9f672810684b2 Mon Sep 17 00:00:00 2001 From: NanuSai Date: Thu, 18 Mar 2021 22:43:38 +0530 Subject: [PATCH] crowdingDistance doc fixed --- include/ensmallen_bits/nsga2/nsga2.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ensmallen_bits/nsga2/nsga2.hpp b/include/ensmallen_bits/nsga2/nsga2.hpp index 945769781..488204c28 100644 --- a/include/ensmallen_bits/nsga2/nsga2.hpp +++ b/include/ensmallen_bits/nsga2/nsga2.hpp @@ -303,7 +303,8 @@ class NSGA2 { * @param idxQ The index of the second cadidate from the elite population * being sorted. * @param ranks The previously calculated ranks. - * @param crowdingDistance The previously calculated objectives. + * @param crowdingDistance The crowding distance for each individual in + * the population. * @return true if the first candidate is preferred, otherwise, false. */ bool CrowdingOperator(size_t idxP,