diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-07-02 22:29:58 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-07-02 22:29:58 +0000 |
| commit | c9db2b11320dffc291faaf044815d3c4c782211e (patch) | |
| tree | 91f237dd57a7ee9a2df3bf0d7ea491a216b2cc42 /src | |
| parent | Fix build (diff) | |
| download | inkscape-c9db2b11320dffc291faaf044815d3c4c782211e.tar.gz inkscape-c9db2b11320dffc291faaf044815d3c4c782211e.zip | |
Put correctly doubles in a function
(bzr r13341.1.77)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-fillet-chamfer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Geom::Path> const &path_in) std::vector<Point> 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()) |
