Allow for concurrentDictionaries

This commit is contained in:
CWX
2025-04-11 13:54:35 +01:00
parent 74e798b190
commit ba35134539
@@ -109,7 +109,7 @@ public class WeightedRandomHelper(
/// Find the greated common divisor of all weights and use it on the passed in dictionary
/// </summary>
/// <param name="weightedDict">Values to reduce</param>
public void ReduceWeightValues(Dictionary<string, double> weightedDict)
public void ReduceWeightValues(IDictionary<string, double> weightedDict)
{
// No values, nothing to reduce
if (weightedDict.Count == 0)