You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Namespace Optimization
...
Public MustInherit Class absOptimization
...
Protected m_rand As System.Random = New clsRandomXorshift(CUInt(Environment.TickCount))
Environment.TickCount can actually return negative number (it does at my machine).
There should be Protected m_rand As System.Random = New clsRandomXorshift(BitConverter.ToUInt32(BitConverter.GetBytes(Environment.TickCount), 0))
The text was updated successfully, but these errors were encountered:
Environment.TickCount
can actually return negative number (it does at my machine).There should be
Protected m_rand As System.Random = New clsRandomXorshift(BitConverter.ToUInt32(BitConverter.GetBytes(Environment.TickCount), 0))
The text was updated successfully, but these errors were encountered: