[Insight-users] discards qualifiers ...

Lagaffe lagaffe74130 at yahoo.fr
Thu Sep 29 08:26:38 EDT 2005


Hello,

My old ITK filter (ITK2.0) doesn't compile now
(ITK2.2) and I have no idea why ...

many thanks for help
arnaud

...
typedef typename
itk::Statistics::CovarianceCalculator< SampleType >
CovarianceAlgorithmType;
	typedef typename CovarianceAlgorithmType::Pointer
CovariancePointerType;
        CovariancePointerType *covarianceAlgorithm =
new CovariancePointerType[NumberOfRegions];


=> 
covarianceAlgorithm[i]->GetOutput()->SetIdentity();

ERROR:
 error: passing 'const
itk::VariableSizeMatrix<double>' as 'this' argument of
'void itk::VariableSizeMatrix<T>::SetIdentity() [with
T = double]' discards qualifiers



	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


More information about the Insight-users mailing list