07-19-2015, 06:18 AM
Simply changing this line to something like:
double Len = 1.0 / (Length() == 0) ? 0.0000000001 : Length();should work right?