Work around undetected types in {function(argType):returnType} types

This commit is contained in:
Andreas Hocevar
2016-06-04 00:28:30 +02:00
parent 0dca194525
commit aa9dbb984a
3 changed files with 17 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ var bins = 10;
/**
* Calculate the Vegetation Greenness Index (VGI) from an input pixel. This
* is a rough estimate assuming that pixel values correspond to reflectance.
* @param {ol.raster.Pixel} pixel An array of [R, G, B, A] values.
* @param {Array.<number>} pixel An array of [R, G, B, A] values.
* @return {number} The VGI value for the given pixel.
*/
function vgi(pixel) {