Simplified code slightly.

This commit is contained in:
Davis King 2012-05-20 20:25:01 -04:00
parent d693e8f45b
commit 371e3f397a

View File

@ -152,7 +152,7 @@ int main()
samples.push_back(samp);
// if this point is less than 13 from the origin
if (sqrt((double)r*r + c*c) <= 13)
if (sqrt(r*r + c*c) <= 13)
labels.push_back(+1);
else
labels.push_back(-1);