Hi all,<br><br>This is fixed on the imglib2 branch now.<br><br>-Curtis<br><br><div class="gmail_quote">On Tue, Mar 22, 2011 at 11:41 AM, Grant B. Harris <span dir="ltr"><<a href="mailto:gharris@mbl.edu">gharris@mbl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<p class="MsoNormal">There is a javac compiler error in imglib
mpicbg.imglib.util.Utils.</p>
<p class="MsoNormal">It spits out this: “type parameters of T cannot
be
determined; no unique maximal instance exists for type variable T
with upper
bounds T,java.lang.Object”</p>
<p class="MsoNormal">The fix seems to be to add explicit casts (T[])
in the method
createGaussianKernel1D:</p>
<p class="MsoNormal">At line 525:</p>
<p class="MsoNormal">gaussianKernel =<span>
</span>(T[]) genericArray( 3 ); //zero.createArray1D( 3 );</p>
<p class="MsoNormal">and at line 551:</p>
<p class="MsoNormal">gaussianKernel = (T[]) genericArray( kernelSize
);
//zero.createArray1D( kernelSize );</p>
<p class="MsoNormal">I keep my hands off imglib, so if someone would
like to make
this change and check that it is also OK with the Eclipse
compiler, that would
be great.<br>
<br>
</p>
</div>
<br>_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagejdev.org">ImageJ-devel@imagejdev.org</a><br>
<a href="http://imagejdev.org/mailman/listinfo/imagej-devel" target="_blank">http://imagejdev.org/mailman/listinfo/imagej-devel</a><br>
<br></blockquote></div><br>