Files
Brian Kelley 7488840ac4 Fix/urange check (#1506)
* Fixes atom documentation

* Fixes #1461

This is a complicated one.  Basically URANGE_CHECK when
used on unsigned integers has a problem when the size of
the range it’s checking is 0.  The standard operations is
to check

URANGE(num, size-1)

Which (for unsigned integers) obviously rolls over.

This fixes all usage cases to be

URANGE(num+1, size)

And fixes the bugs found.  (addBond and the mmff tests)

* Fixes #1461 - Updates URANGE_CHECK to be 0<=x<hi
2017-09-11 21:17:33 +02:00
..
2016-11-05 14:42:52 +01:00
2016-11-05 14:42:52 +01:00
2007-09-29 06:34:30 +00:00
2016-04-28 16:33:50 -04:00
2017-04-07 11:57:43 -04:00
2017-09-11 21:17:33 +02:00
2017-03-20 14:30:36 +00:00
2016-09-23 04:58:46 +02:00
2017-09-11 08:46:42 -04:00