From 61742d7fcc75a41a6525ecae47890db56ce94395 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Thu, 3 Jul 2014 11:10:26 +0200 Subject: [PATCH] BUG: Wrong cast in origin display --- Applications/Utils/otbReadImageInfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Utils/otbReadImageInfo.cxx b/Applications/Utils/otbReadImageInfo.cxx index e198ff61b5..a1c1b49047 100644 --- a/Applications/Utils/otbReadImageInfo.cxx +++ b/Applications/Utils/otbReadImageInfo.cxx @@ -281,7 +281,7 @@ private: SetParameterFloat("originx", inImage->GetOrigin()[0]); SetParameterFloat("originy", inImage->GetOrigin()[1]); - ossOutput << "\tOrigin : [" << GetParameterFloat("originx") << "," << GetParameterInt("originy") << "]" << std::endl; + ossOutput << "\tOrigin : [" << GetParameterFloat("originx") << "," << GetParameterFloat("originy") << "]" << std::endl; //Get image spacing SetParameterFloat("spacingx", inImage->GetSpacing()[0]); -- GitLab