「view this page in B3 βῆτα server」

Revisions №60692

branch: master 「№60692」
Commited by: Vikram K. Mulligan
GitHub commit link: 「cccd75ca86206816」 「№3885」
Difference from previous tested commit:  code diff
Commit date: 2019-04-03 23:59:37

Merge pull request #3885 from RosettaCommons/vmullig/add_catch_and_throw Make the "Cannot normalize xyzVector of length() zero" error more informative. The "Cannot normalize xyzVector of length() zero" error is a pain in the neck, because it's hard to know exactly what vector was tripping it up, and in what context. @everyday847 had the idea a while back of adding more try/catch blocks around calls to xyzVector::normalize() which would themselves re-throw after adding more information about the context to the error message, to aid debugging. This is a first pass at that.

...