We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f2d56 commit 0dcd30cCopy full SHA for 0dcd30c
CSharpMath/Structures/Dictionary.cs
@@ -81,8 +81,7 @@ public LaTeXCommandDictionary(DefaultDelegate defaultParser,
81
82
public IEnumerator<KeyValuePair<string, TValue>> GetEnumerator() =>
83
nonCommands.Select(t => new KeyValuePair<string, TValue>(t.Item1, t.Item2))
84
- .Concat(commands.Select(kvp => new KeyValuePair<string, TValue>(kvp.Key, kvp.Value)))
85
- .GetEnumerator();
+ .Concat(commands).GetEnumerator();
86
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
87
88
/// <summary>Finds the number of characters corresponding to a LaTeX command at the beginning of chars.</summary>
0 commit comments