Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Fix some compile errors when legacy functionality is removed #1650

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Examples/ImageMath_Templates.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,7 @@ SetOrGetPixel(int argc, char * argv[])
{
porig[2] = indz;
}
image1->TransformPhysicalPointToIndex(porig, index);
index = image1->TransformPhysicalPointToIndex(porig);
}
// std::cout << " use phy " << usephyspace << " " << indx << " " << indy << " " << indz << std::endl;
// std::cout << " Ind " << index << std::endl;
Expand Down Expand Up @@ -5906,7 +5906,7 @@ VImageMath(int argc, char * argv[])
PixelType pix2;
if (isfloat)
{
pix2 = floatval;
pix2.Fill(floatval);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions Utilities/antsCommandLineOption.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class OptionFunction final : public DataObject

itkNewMacro(Self);

itkTypeMacro(Option, DataObject);
itkTypeMacro(OptionFunction, DataObject);

typedef std::deque<std::string> ParameterStackType;

Expand Down Expand Up @@ -122,7 +122,7 @@ class CommandLineOption final : public DataObject

itkNewMacro(Self);

itkTypeMacro(Option, DataObject);
itkTypeMacro(CommandLineOption, DataObject);

typedef OptionFunction OptionFunctionType;

Expand Down