From 7c5ac7bf0772c651cf55052a6a1c8fd7d12afff0 Mon Sep 17 00:00:00 2001 From: Bborie Park Date: Mon, 18 Jun 2012 22:48:04 +0000 Subject: [PATCH] Addition of comments to RASTER_mapAlgebra2() git-svn-id: http://svn.osgeo.org/postgis/trunk@9945 b70326c6-7e19-0410-871a-916f4a2858ee --- raster/rt_pg/rt_pg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raster/rt_pg/rt_pg.c b/raster/rt_pg/rt_pg.c index 557bdfce3..df747bc68 100644 --- a/raster/rt_pg/rt_pg.c +++ b/raster/rt_pg/rt_pg.c @@ -9753,10 +9753,12 @@ Datum RASTER_mapAlgebra2(PG_FUNCTION_ARGS) (rast[0] == NULL || _isempty[0]) || (rast[1] == NULL || _isempty[1]) ) { + /* first raster is empty */ if (rast[0] == NULL || _isempty[0]) { i = 0; j = 1; } + /* second raster is empty */ else { i = 1; j = 0; -- 2.40.0