[gegl] sobel: Code style, etc.
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] sobel: Code style, etc.
- Date: Wed, 8 Oct 2014 15:03:26 +0000 (UTC)
commit 1ecdab55a274441959e6d232826347b4074e47a1
Author: Mukund Sivaraman <muks banu com>
Date: Wed Oct 8 17:59:14 2014 +0530
sobel: Code style, etc.
operations/common/edge-sobel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/edge-sobel.c b/operations/common/edge-sobel.c
index 6628860..05eb471 100644
--- a/operations/common/edge-sobel.c
+++ b/operations/common/edge-sobel.c
@@ -343,7 +343,7 @@ edge_sobel (GeglBuffer *src,
if (horizontal && vertical)
{
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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]