view .hgsubstate @ 19803:70911df8ad28

gray2ind: return uint8 when (n <= 256) instead of (n < 256) (bug #44309) * gray2ind.m: the class of the indexed image returned by gray2ind is dependent on the number of indices to use. If there are 256 or less, we return uint8, and uint16 otherwise. Add more tests for the limits.
author Carnë Draug <carandraug@octave.org>
date Thu, 19 Feb 2015 14:29:34 +0000
parents 203431f40cb2
children 85d9cb769e8b
line wrap: on
line source

8728cf80b7d84b0ac401debac5b37217aac0d2e2 gnulib-hg