From: Bborie Park Date: Mon, 18 Jun 2012 22:48:04 +0000 (+0000) Subject: Addition of comments to RASTER_mapAlgebra2() X-Git-Tag: 2.1.0beta2~883 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c5ac7bf0772c651cf55052a6a1c8fd7d12afff0;p=postgis Addition of comments to RASTER_mapAlgebra2() git-svn-id: http://svn.osgeo.org/postgis/trunk@9945 b70326c6-7e19-0410-871a-916f4a2858ee --- 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;