[Insight-users] typedef bug in itk::Statistics::TransferFunctionBase
    Stephan Schmitt 
    drmabuse at cs.tu-berlin.de
       
    Tue Nov  3 05:20:48 EST 2009
    
    
  
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
    
    
More information about the Insight-users
mailing list