diff --git a/Common/OpenCL/ITKimprovements/itkOpenCLVector.hxx b/Common/OpenCL/ITKimprovements/itkOpenCLVector.hxx index ef09ddfd5..d18065d36 100644 --- a/Common/OpenCL/ITKimprovements/itkOpenCLVector.hxx +++ b/Common/OpenCL/ITKimprovements/itkOpenCLVector.hxx @@ -123,9 +123,9 @@ OpenCLVector::Read(T * data, const std::size_t count, const std::size_t offse { itkAssertOrThrowMacro(((offset + count) <= this->m_Size), "OpenCLVector::Read(data, " << count << ", " << offset - << ") (offset + count) is out of range") + << ") (offset + count) is out of range"); - OpenCLVectorBase::Read(data, count * sizeof(T), offset * sizeof(T)); + OpenCLVectorBase::Read(data, count * sizeof(T), offset * sizeof(T)); } diff --git a/Core/Main/itkElastixRegistrationMethod.hxx b/Core/Main/itkElastixRegistrationMethod.hxx index 6e5234816..7d58b30fe 100644 --- a/Core/Main/itkElastixRegistrationMethod.hxx +++ b/Core/Main/itkElastixRegistrationMethod.hxx @@ -150,7 +150,7 @@ ElastixRegistrationMethod::GenerateData() { if (m_LogToFile) { - itkExceptionMacro("LogToFileOn() requires an output directory to be specified.") + itkExceptionMacro("LogToFileOn() requires an output directory to be specified."); } } else