From c9db2b11320dffc291faaf044815d3c4c782211e Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Thu, 3 Jul 2014 00:29:58 +0200 Subject: Put correctly doubles in a function (bzr r13341.1.77) --- src/live_effects/lpe-fillet-chamfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index c25e3bffd..1fb68020d 100644 --- a/src/live_effects/lpe-fillet-chamfer.cpp +++ b/src/live_effects/lpe-fillet-chamfer.cpp @@ -525,7 +525,7 @@ LPEFilletChamfer::doEffect_path(std::vector const &path_in) std::vector filletChamferData = fillet_chamfer_values.data(); int counter = 0; //from http://launchpadlibrarian.net/12692602/rcp.svg - const double K = (4. / 3) * (sqrt(2) - 1); + const double K = (4.0 / 3.0) * (sqrt(2.0) - 1.0); for (PathVector::const_iterator path_it = path_in.begin(); path_it != path_in.end(); ++path_it) { if (path_it->empty()) -- cgit v1.2.3