Commit [r69] Maximize Restore History

Switched SampleTail() to use NextDoubleNonZero() instead of NextDouble(), to avoid attempt to compute Log(0). That wasn't a defect because Log() returns a NaN instead of throwing an exception, but it did cause a slow execution path.

colgreen 2014-01-26

changed /trunk/SharpNeatV2/src/SharpNeatLib/Utility/ZigguratGaussianSampler.cs
/trunk/SharpNeatV2/src/SharpNeatLib/Utility/ZigguratGaussianSampler.cs Diff Switch to side-by-side view
Loading...