<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
<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 style="">
</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>
</body>
</html>