rank_image oops

This commit is contained in:
John Cupitt 2010-11-15 16:45:13 +00:00
parent 5684349d56
commit 6483cbcdf3
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ rank_new( IMAGE **in, IMAGE *out, int n, int index )
/* Cast inputs up to a common format, common bands.
*/
if( im_open_local_array( out, rank->in, n, "im_rank_image", "p" ) ||
if( im_open_local_array( out, t, n, "im_rank_image", "p" ) ||
im_open_local_array( out, rank->in, n, "im_rank_image", "p" ) ||
im__bandalike_vec( "im_rank_image", in, t, n ) ||
im__formatalike_vec( t, rank->in, n ) )