Commit 371e3f39 authored by Davis King's avatar Davis King

Simplified code slightly.

parent d693e8f4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment