Files
rdkit/Code
Brian Cole 360421e2a8 Make sure EmbedMultipleConfs is deterministic for very large seeds and a seed of 0 (#1635)
* Make sure EmbedMultipleConfs is deterministic for very large seeds and a seed of 0.

Fixing two distinct bugs:

- A randomSeed of 0 didn't use '0' as the seed even though the
  documentation said that it should.

- Very large seeds could overflow the 'int' representation during
  calculation of a new internal seed. This would make
  EmbedMultipleConfs non-deterministic even though the user provided a
  valid seed.

* Adding a C++ test for case pull request #1635.
2017-11-15 06:53:42 +01:00
..
2017-09-11 21:17:33 +02:00
2016-09-23 04:58:46 +02:00
2017-04-22 17:09:24 +02:00
2017-08-07 15:49:08 +02:00
2016-09-23 04:58:46 +02:00
2017-10-05 05:58:38 +02:00
2017-10-12 06:42:15 +02:00
2017-04-22 17:09:24 +02:00
2017-10-12 06:42:15 +02:00
2006-05-06 22:20:08 +00:00
2016-09-23 04:58:46 +02:00