[skip ci] minor changes....

This commit is contained in:
luffy
2018-02-18 07:46:58 +05:30
parent 3ae6cdecb8
commit e7d4f0debd
@@ -22,7 +22,7 @@ SphereFunction::SphereFunction(const size_t n) :
{
initialPoint.set_size(n, 1);
for (size_t i = 0; i < n; ++i) // Set to [-5 5 -5 5...].
for (size_t i = 0; i < n; ++i) // Set to [-5 5 -5 5 -5 5...].
{
if (i % 2 == 1)
initialPoint(i) = 5;