Skip to content
Snippets Groups Projects
Commit aff350aa authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Wrong message reported in exception

parent e71ddd79
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,7 @@ template <class TInputImage, class TOutputImage>
TOutputImage*
InputImageParameter::CastImage()
{
itkExceptionMacro("Cast from "<<typeid(TInputImage).name()<<" to "<<typeid(TInputImage).name()<<" not authorized.");
itkExceptionMacro("Cast from "<<typeid(TInputImage).name()<<" to "<<typeid(TOutputImage).name()<<" not authorized.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment