diff --git a/Source/Collections/Variegator.cs b/Source/Collections/Variegator.cs index d2397c7..07aab4b 100644 --- a/Source/Collections/Variegator.cs +++ b/Source/Collections/Variegator.cs @@ -23,8 +23,6 @@ using System.Collections.Generic; namespace Nuclex.Support.Collections { - // ------------------------------------------------------------------------------------------- // - /// Randomly selects between different options, trying to avoid repetition /// Type of keys through which values can be looked up /// Type of values provided by the variegator @@ -50,11 +48,14 @@ namespace Nuclex.Support.Collections { /// public class Variegator { + /// Initializes a new variegator using the default history length + public Variegator() : this(64) {} + /// Initializes a new variegator /// /// How far into the past the variegator will look to avoid repetition /// - public Variegator(int historyLength = 64) { + public Variegator(int historyLength) { this.historyLength = historyLength; this.history = new TValue[historyLength]; this.values = new MultiDictionary();