From a9554eb8c8f1c93a2a136bcdd1c50d92a9fbe5cc Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 16 Dec 2008 09:55:12 +0000 Subject: [PATCH] Bug 0020075: EDF VISU 905: Impossible to create a deformed shape. --- src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx index 5dc0536e..e110c16e 100644 --- a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx +++ b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx @@ -177,7 +177,7 @@ void VisuGUI_DeformedShapeDlg::setFactor(double theFactor) // and it is truncated to the bigger integer degree -= 1; } - step = pow(10, degree); + step = pow(10., double(degree)); } ScalFact->setLineStep(step); -- 2.39.2