Made ProbabilityObjectArray slightly less awful

This commit is contained in:
Chomp
2025-02-04 19:38:59 +00:00
parent 621dd27323
commit db0feff1d8
8 changed files with 43 additions and 76 deletions
@@ -471,7 +471,7 @@ public class InsuranceController(
var countOfAttachmentsToRemove = GetAttachmentCountToRemove(weightedAttachmentByPrice, traderId);
// Create prob array and add all attachments with rouble price as the weight
var attachmentsProbabilityArray = new ProbabilityObjectArray<ProbabilityObject<string, double?>, string, double?>(_mathUtil, _cloner);
var attachmentsProbabilityArray = new ProbabilityObjectArray<string, double?>(_mathUtil, _cloner);
foreach (var attachmentTpl in weightedAttachmentByPrice)
{
attachmentsProbabilityArray.Add(