Mercurial > hg > orthanc-stone
diff Framework/Toolbox/ShearWarpProjectiveTransform.cpp @ 705:f45fca2ebd10
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 20 May 2019 09:38:25 +0200 |
parents | 059e1fd05fd6 |
children | c3bbb130abc4 |
line wrap: on
line diff
--- a/Framework/Toolbox/ShearWarpProjectiveTransform.cpp Sun May 19 16:35:03 2019 +0200 +++ b/Framework/Toolbox/ShearWarpProjectiveTransform.cpp Mon May 20 09:38:25 2019 +0200 @@ -543,7 +543,7 @@ } else { - *p = static_cast<TargetTraits::PixelType> + *p = static_cast<typename TargetTraits::PixelType> (*qacc / static_cast<float>(*qcount)); if (*p > maxValue)