[Insight-users] typedef bug in itk::Statistics::TransferFunctionBase

Karthik Krishnan karthik.krishnan at kitware.com
Wed Nov 4 02:31:28 EST 2009


Thanks for the report. Just committed your fix in CVS.

On Tue, Nov 3, 2009 at 5:20 AM, Stephan Schmitt <drmabuse at cs.tu-berlin.de>wrote:

> Hello,
>
> the base class of TransferFunctionBase is declared as follows:
>
> 00029 template<class ScalarType>
> 00030 class TransferFunctionBase : public FunctionBase<ScalarType,
> ScalarType>
>
> the following typedef causes an compile error if ScalarType is not double:
>
> 00036   typedef FunctionBase<ScalarType, double> Superclass;
>
> imo, it should be:
>
> 00036   typedef FunctionBase<ScalarType, ScalarType> Superclass;
>
> Greetings,
>        Stephan
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091104/e0f27f23/attachment.htm>


More information about the Insight-users mailing list