Skip to content
Snippets Groups Projects
Commit 8082c796 authored by even's avatar even
Browse files

Negative b for octant 1

parent ad7b8da3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment