Per Andrew’s comments from my last post I’ve gone ahead and added extra checking on the weight provided when adding a node. DB_Virtual
will now throw an error if you provide a weight equal to or less than zero.
- Fixed a possible divide by zero error
- Added check for weights less than zero