diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-11-08 16:13:18 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-11-08 16:13:18 +0000 |
commit | 710952ec33cb9428f444bc2bcd4d29a1d24c5899 (patch) | |
tree | 50cac89c8c1cb6e96aeea35000fd92ce0ab52fe5 /other | |
parent | 7f9ddfb76b7697992e57708215f28c98235c5669 (diff) | |
download | netpbm-mirror-710952ec33cb9428f444bc2bcd4d29a1d24c5899.tar.gz netpbm-mirror-710952ec33cb9428f444bc2bcd4d29a1d24c5899.tar.xz netpbm-mirror-710952ec33cb9428f444bc2bcd4d29a1d24c5899.zip |
Release 10.47.32
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@1595 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r-- | other/pamarith.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/pamarith.c b/other/pamarith.c index d8ea19fa..4374ee1c 100644 --- a/other/pamarith.c +++ b/other/pamarith.c @@ -523,7 +523,7 @@ sampleProduct(sample const operands[], double product; for (i = 0, product = 1.0; i < operandCt; ++i) { - product *= ((double)operands[0]/maxval); + product *= ((double)operands[i]/maxval); } return (sample)(product * maxval + 0.5); } |