diff --git a/Torch/Collections/SortedView.cs b/Torch/Collections/SortedView.cs index bfa5953..db1476f 100644 --- a/Torch/Collections/SortedView.cs +++ b/Torch/Collections/SortedView.cs @@ -107,7 +107,10 @@ namespace Torch.Collections public void Refresh() { _store.Clear(); - _store.AddRange(_backing); + //_store.AddRange(_backing); + _store.EnsureCapacity(_backing.Count); + foreach (var e in _backing) + _store.Add(e); Sort(); }