Skip to content

Commit

Permalink
Merge pull request #1650 from dzenanz/compFixes
Browse files Browse the repository at this point in the history
COMP: Fix some compile errors when legacy functionality is removed
  • Loading branch information
ntustison authored Jan 11, 2024
2 parents e1239db + e7c5a55 commit 2d3cefa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 2d3cefa

Please sign in to comment.