<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix redeclaration of void iulib::addscaled
https://github.com/tmbarchive/iulib/issues/2
https://github.com/tmbarchive/iulib/issues/3
https://github.com/tmbarchive/iulib/pull/4
--- imglib/imgops.cc.orig
+++ imglib/imgops.cc
@@ -133,7 +133,7 @@ namespace iulib {
 
     template&lt;class T,class V&gt;
     void addscaled(narray&lt;T&gt; &amp;dest,narray&lt;T&gt; &amp;src,
-            V scale=1,int dx=0,int dy=0) {
+            V scale,int dx,int dy) {
         for (int i=0; i&lt;dest.dim(0); i++)
             for (int j=0; j&lt;dest.dim(1); j++)
                 dest.unsafe_at(i,j) += (T)(scale*xref(src,i+dx,j+dy));
--- imglib/imgops.h.orig
+++ imglib/imgops.h
@@ -67,7 +67,7 @@ namespace iulib {
     }
 
     template&lt;class T, class V&gt;
-    void addscaled(colib::narray&lt;T&gt; &amp;, colib::narray&lt;T&gt; &amp;, V, int, int);
+    void addscaled(colib::narray&lt;T&gt; &amp;, colib::narray&lt;T&gt; &amp;, V scale=1,int dx=0,int dy=0);
     template&lt;class T&gt;
     void tighten(colib::narray&lt;T&gt; &amp;image);
     template&lt;class T&gt;
</pre></body></html>