Correct spelling mistakes.

This commit is contained in:
Edward Betts authored and Zack Middleton committed 2017-11-22 01:40:20 -06:00
1 parent 14cb72f912
commit fe42b8653d
105 files changed
+212 -212

No files matched your search

+1 -1
View File
@@ -726,7 +726,7 @@ void EvolveFuzzySeperator_r(fuzzyseperator_t *fs)
//every once in a while an evolution leap occurs, mutation
if (random() < 0.01) fs->weight += crandom() * (fs->maxweight - fs->minweight);
else fs->weight += crandom() * (fs->maxweight - fs->minweight) * 0.5;
//modify bounds if necesary because of mutation
//modify bounds if necessary because of mutation
if (fs->weight < fs->minweight) fs->minweight = fs->weight;
else if (fs->weight > fs->maxweight) fs->maxweight = fs->weight;
} //end else if