From 93ad72d636c9a4cd433225006dec850c150bdc65 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Wed, 28 Oct 2015 11:09:31 +0100 Subject: Add operational condition on matrix size --- src/main/java/Filter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/Filter.java b/src/main/java/Filter.java index 1e50d7e..4e06800 100644 --- a/src/main/java/Filter.java +++ b/src/main/java/Filter.java @@ -23,7 +23,7 @@ public final class Filter { /** * Get a pixel without accessing out of bounds * - * @param gray a HxW float array + * @param gray a HxW float array, H > 0, W > 0 * @param row Y coordinate * @param col X coordinate * @return nearest valid pixel color -- cgit v1.2.3