Commit 3e4d7129 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: fix copy paste error

parent 6aa943b4
......@@ -43,7 +43,7 @@ void
ScalarBufferToImageFileWriter<TBufferType, TOutputPixelType>::GenerateData()
// Check image parameters
if( (m_ImageSize[0]==0) || (m_ImageSize[0]==0) )
if( (m_ImageSize[0]==0) || (m_ImageSize[1]==0) )
itkExceptionMacro("Invalid output image size, Size can't be null.");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment