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:
Meta Vens 2026-10-11 08:46:54 +02:00
commit 1b5499cf78

View file

@ -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++)
{