From 8082c79665cbb0b3f0798f611043d3432407a290 Mon Sep 17 00:00:00 2001
From: even <philippe.even@loria.fr>
Date: Sat, 29 Dec 2018 11:59:16 +0100
Subject: [PATCH] Negative b for octant 1

---
 Code/Seg/DirectionalScanner/dynamicalscannero1.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Seg/DirectionalScanner/dynamicalscannero1.cpp b/Code/Seg/DirectionalScanner/dynamicalscannero1.cpp
index 7bb550e..e8ebdd5 100755
--- a/Code/Seg/DirectionalScanner/dynamicalscannero1.cpp
+++ b/Code/Seg/DirectionalScanner/dynamicalscannero1.cpp
@@ -240,7 +240,7 @@ void DynamicalScannerO1::bindTo (int a, int b, int c)
     nu = (templ_nu * new_n1) / old_n1;
   else
     nu = (templ_nu * new_ninf) / old_ninf;
-  if (dlb < 0)  // dlb should stay positive to avoid the direction change
+  if (dlb > 0)  // dlb should stay negative to avoid the direction change
   {             //   of the support line inequations.
     dla = -dla;
     dlb = -dlb;
-- 
GitLab