Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02e954e commit fd1ec8aCopy full SHA for fd1ec8a
ChangeLog
@@ -12,6 +12,7 @@
12
- svgload: add support for custom CSS via stylesheet option [lovell]
13
- heifload: `unlimited` flag removes all limits (requires libheif 1.19.0+) [lovell]
14
- heifsave: improve alpha channel detection [lovell]
15
+- convi: ensure double sum precision for floats [lovell]
16
17
8.16.1
18
libvips/convolution/convi.c
@@ -728,7 +728,7 @@ vips_convi_gen_vector(VipsRegion *out_region,
728
\
729
sum = 0; \
730
for (i = 0; i < nnz; i++) \
731
- sum += t[i] * p[offsets[i]]; \
+ sum += (double) t[i] * p[offsets[i]]; \
732
733
sum = (sum / scale) + offset; \
734
0 commit comments