Skip to content

Commit

Permalink
COMP: Add missing semicolons to ElastixRegistrationMethod and OpenCL
Browse files Browse the repository at this point in the history
- Follow-up to pull request #1227 commit 7b99c20 "COMP: Add missing semicolons to ITK macro calls"
  • Loading branch information
N-Dekker committed Aug 31, 2024
1 parent 9554422 commit c41fdd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Common/OpenCL/ITKimprovements/itkOpenCLVector.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ OpenCLVector<T>::Read(T * data, const std::size_t count, const std::size_t offse
{
itkAssertOrThrowMacro(((offset + count) <= this->m_Size),
"OpenCLVector<T>::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));
}


Expand Down
2 changes: 1 addition & 1 deletion Core/Main/itkElastixRegistrationMethod.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ ElastixRegistrationMethod<TFixedImage, TMovingImage>::GenerateData()
{
if (m_LogToFile)
{
itkExceptionMacro("LogToFileOn() requires an output directory to be specified.")
itkExceptionMacro("LogToFileOn() requires an output directory to be specified.");
}
}
else
Expand Down

0 comments on commit c41fdd6

Please sign in to comment.