Mercurial > hg > digilib-old
changeset 1035:e4eb1209fa78
remove unneccessary cast.
author | robcast |
---|---|
date | Sun, 11 Mar 2012 16:41:44 +0100 |
parents | c71795594406 |
children | b85802cf0263 |
files | common/src/main/java/digilib/image/ImageLoaderDocuImage.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/common/src/main/java/digilib/image/ImageLoaderDocuImage.java Sun Mar 11 16:35:53 2012 +0100 +++ b/common/src/main/java/digilib/image/ImageLoaderDocuImage.java Sun Mar 11 16:41:44 2012 +0100 @@ -561,8 +561,8 @@ float[] dm = new float[ncol]; float[] da = new float[ncol]; for (int i = 0; i < ncol; i++) { - dm[i] = (float) mult; - da[i] = (float) add; + dm[i] = mult; + da[i] = add; } if (img.getColorModel().hasAlpha()) { // alpha channel should not be scaled