BUGFIX: pdir is uninitialized, add code pdir = -1;(fixed)
pdir = -1;
Definition at line 416 of file drlg_l3.cpp.