Commit a6ca508e authored by Cyril Poupon's avatar Cyril Poupon
Browse files

bug fix in getInverse(à method

parent 415e0499
......@@ -147,19 +147,19 @@ void gkg::VectorFieldTransform3d< T >::getInverse(
gkg::Vector3d< T > deformation;
_resampler->resample( _directAndInverseVectorFields,
T( 0 ),
from,
to,
deformation.x,
&_resolution,
3 );
_resampler->resample( _directAndInverseVectorFields,
T( 0 ),
from,
to,
deformation.y,
&_resolution,
4 );
_resampler->resample( _directAndInverseVectorFields,
T( 0 ),
from,
to,
deformation.z,
&_resolution,
5 );
......@@ -170,8 +170,8 @@ void gkg::VectorFieldTransform3d< T >::getInverse(
}
GKG_CATCH( "template < class T > "
"void gkg::VectorFieldTransform3d< T >::getInverse( "
"const gkg::Vector3d< T >& from, "
"gkg::Vector3d< T >& to ) const" );
"const gkg::Vector3d< T >& to, "
"gkg::Vector3d< T >& from ) const" );
}
......
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