Commit 1ecdab55 authored by Mukund Sivaraman's avatar Mukund Sivaraman

sobel: Code style, etc.

parent 1c86b329
...@@ -343,7 +343,7 @@ edge_sobel (GeglBuffer *src, ...@@ -343,7 +343,7 @@ edge_sobel (GeglBuffer *src,
if (horizontal && vertical) if (horizontal && vertical)
{ {
for (c = 0; c < 3; c++) for (c = 0; c < 3; c++)
gradient[c] = magnitude (hor_grad[c], ver_grad[c]) / sqrtf(32.0); gradient[c] = magnitude (hor_grad[c], ver_grad[c]) / sqrtf (32.0f);
} }
else else
{ {
......
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