Commit 7260a732 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[MERGE]

parents 20cd072d b77b562e
......@@ -231,7 +231,7 @@ void WMAnisotropicFiltering::calcDeriv( std::vector< double >& deriv, // NOLINT
boost::shared_ptr< WGridRegular3D > const& grid, std::size_t image, std::size_t numImages )
{
std::size_t s[] = { grid->getNbCoordsX(), grid->getNbCoordsY(), grid->getNbCoordsZ() };
std::size_t d[] = { fabs( grid->getOffsetX() ), fabs( grid->getOffsetY() ), fabs( grid->getOffsetZ() ) };
double d[] = { fabs( grid->getOffsetX() ), fabs( grid->getOffsetY() ), fabs( grid->getOffsetZ() ) };
for( std::size_t x = 0; x < grid->getNbCoordsX(); ++x )
{
......@@ -283,7 +283,7 @@ void WMAnisotropicFiltering::diffusion( std::vector< double > const& deriv, std:
boost::shared_ptr< WGridRegular3D > const& grid, std::size_t image, std::size_t numImages )
{
std::size_t s[] = { grid->getNbCoordsX(), grid->getNbCoordsY(), grid->getNbCoordsZ() };
std::size_t d[] = { fabs( grid->getOffsetX() ), fabs( grid->getOffsetY() ), fabs( grid->getOffsetZ() ) };
double d[] = { fabs( grid->getOffsetX() ), fabs( grid->getOffsetY() ), fabs( grid->getOffsetZ() ) };
for( std::size_t x = 0; x < grid->getNbCoordsX(); ++x )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment