summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-vonkoch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-vonkoch.cpp b/src/live_effects/lpe-vonkoch.cpp
index 8b0b716fe..7e396e84a 100644
--- a/src/live_effects/lpe-vonkoch.cpp
+++ b/src/live_effects/lpe-vonkoch.cpp
@@ -133,7 +133,7 @@ LPEVonKoch::doEffect_path (std::vector<Geom::Path> const & path_in)
for (unsigned k = 0; k < path_in.size(); k++){
path_in_complexity+=path_in[k].size();
}
- double complexity = std::pow(transforms.size(),nbgenerations)*path_in_complexity;
+ double complexity;
if (drawall.get_value()){
int k = transforms.size();
if(k>1){