src/ringFinder.cpp

changeset 985
ed7b31b9f904
parent 984
a7b6f987d269
child 1014
f0a8ecb6a357
child 1217
314e12e23c3a
equal deleted inserted replaced
984:a7b6f987d269 985:ed7b31b9f904
170 { 170 {
171 if (m_bestSolution == nullptr or sol.isSuperiorTo (m_bestSolution)) 171 if (m_bestSolution == nullptr or sol.isSuperiorTo (m_bestSolution))
172 m_bestSolution = / 172 m_bestSolution = /
173 } 173 }
174 174
175 return (m_bestSolution != nullptr); 175 return (m_bestSolution);
176 } 176 }
177 177
178 // 178 //
179 // Compares this solution with @other and determines which 179 // Compares this solution with @other and determines which
180 // one is superior. 180 // one is superior.

mercurial