From 9f5410b4c1397bc7443e937139569335c9885bc9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 5 Nov 2014 19:51:28 +0100 Subject: [PATCH] removed some debugging code committed by accident --- src/libbidir/mut_manifold.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libbidir/mut_manifold.cpp b/src/libbidir/mut_manifold.cpp index 48af6dee..32af05f3 100644 --- a/src/libbidir/mut_manifold.cpp +++ b/src/libbidir/mut_manifold.cpp @@ -191,7 +191,7 @@ bool ManifoldPerturbation::sampleMutationRecord( Float sample = m_sampler->next1D(); a = -1; - if (source.vertex(k-1)->isConnectable() && false) { + if (source.vertex(k-1)->isConnectable()) { /* Extra optimization: slightly prefer perturbations from the sensor */ #define SENSOR_PROB (Float) 0.25f @@ -203,9 +203,6 @@ bool ManifoldPerturbation::sampleMutationRecord( } } - a = 1; - step = 1; - if (a < 0) { step = sample < 0.5f ? 1 : -1;