diff --git a/Code/Seg/DirectionalScanner/dynamicalscannero1.cpp b/Code/Seg/DirectionalScanner/dynamicalscannero1.cpp index 7bb550e9b7b05568f0036c2aa912194b3dd0c703..e8ebdd56c4d4e2c39a453d092bab293314eea32d 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;