Skip to content

Commit

Permalink
Fix some build errors on Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgolodetz committed Jan 18, 2017
1 parent 9de814d commit bbc0b05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions InfiniTAM/FernRelocLib/PixelUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace FernRelocLib
}
}

inline void filterSeparable_x(const ORUtils::Image< ORUtils::Vector4<unsigned char> > *input, ORUtils::Image<ORUtils::Vector4<unsigned char>> *output, int masksize, const float *coeff)
inline void filterSeparable_x(const ORUtils::Image< ORUtils::Vector4<unsigned char> > *input, ORUtils::Image<ORUtils::Vector4<unsigned char> > *output, int masksize, const float *coeff)
{
int s2 = masksize / 2;
ORUtils::Vector2<int> imgSize = input->noDims;
Expand Down Expand Up @@ -118,7 +118,7 @@ namespace FernRelocLib
}
}

inline void filterSeparable_y(const ORUtils::Image< ORUtils::Vector4<unsigned char> > *input, ORUtils::Image<ORUtils::Vector4<unsigned char>> *output, int masksize, const float *coeff)
inline void filterSeparable_y(const ORUtils::Image< ORUtils::Vector4<unsigned char> > *input, ORUtils::Image<ORUtils::Vector4<unsigned char> > *output, int masksize, const float *coeff)
{
int s2 = masksize / 2;
ORUtils::Vector2<int> imgSize = input->noDims;
Expand Down Expand Up @@ -198,7 +198,7 @@ namespace FernRelocLib
}
}

inline void filterSubsample(const ORUtils::Image< ORUtils::Vector4<unsigned char> > *input, ORUtils::Image<ORUtils::Vector4<unsigned char>> *output) {
inline void filterSubsample(const ORUtils::Image< ORUtils::Vector4<unsigned char> > *input, ORUtils::Image<ORUtils::Vector4<unsigned char> > *output) {
ORUtils::Vector2<int> imgSize_in = input->noDims;
ORUtils::Vector2<int> imgSize_out(imgSize_in.x / 2, imgSize_in.y / 2);
output->ChangeDims(imgSize_out, true);
Expand Down

0 comments on commit bbc0b05

Please sign in to comment.