ThrustAllocatorTests: System.Random (CultMath.Random is ambiguous); fixes the build of the previous commit
c7dcf178 does not build (CS0104); this commit does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c7dcf178f3
commit
1b5499cf78
1 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ public class ThrustAllocatorTests
|
|||
// generator: Synthetic(8, 7005)).
|
||||
static float3[] Synthetic(int n, int seed)
|
||||
{
|
||||
var rng = new Random(seed);
|
||||
var rng = new System.Random(seed);
|
||||
var cols = new float3[n];
|
||||
for (var i = 0; i < n; i++)
|
||||
{
|
||||
|
|
@ -287,7 +287,7 @@ public class ThrustAllocatorTests
|
|||
public void ColdAndWarmStartsAgreeOnTheHullThatStoppedEarly()
|
||||
{
|
||||
var hull = Synthetic(8, 7005);
|
||||
var rng = new Random(5);
|
||||
var rng = new System.Random(5);
|
||||
var warm = new ThrustAllocator();
|
||||
for (var step = 0; step < 8; step++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue