Skip to content

Commit f4cc438

Browse files
author
Lucas Lemaire
committed
Fix BucketSorter unused Genericity and include files added in csproj
1 parent e48ed8e commit f4cc438

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Algorithms/Algorithms.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,17 @@
3939
<Compile Include="Numeric\CatalanNumbers.cs" />
4040
<Compile Include="Properties\AssemblyInfo.cs" />
4141
<Compile Include="Sorting\BinarySearchTreeSorter.cs" />
42+
<Compile Include="Sorting\BubbleSorter.cs" />
43+
<Compile Include="Sorting\BucketSorter.cs" />
44+
<Compile Include="Sorting\CombSorter.cs" />
4245
<Compile Include="Sorting\CountingSorter.cs" />
46+
<Compile Include="Sorting\CycleSorter.cs" />
47+
<Compile Include="Sorting\GnomeSorter.cs" />
4348
<Compile Include="Sorting\HeapSorter.cs" />
4449
<Compile Include="Sorting\InsertionSorter.cs" />
4550
<Compile Include="Sorting\LSDRadixSorter.cs" />
51+
<Compile Include="Sorting\OddEvenSorter.cs" />
52+
<Compile Include="Sorting\PigeonHoleSorter.cs" />
4653
<Compile Include="Sorting\QuickSorter.cs" />
4754
<Compile Include="Sorting\MergeSorter.cs" />
4855
<Compile Include="Common\Comparers.cs" />
@@ -51,6 +58,8 @@
5158
<Compile Include="Graphs\BreadthFirstSearcher.cs" />
5259
<Compile Include="Graphs\DepthFirstSearcher.cs" />
5360
<Compile Include="Graphs\TopologicalSorter.cs" />
61+
<Compile Include="Sorting\SelectionSorter.cs" />
62+
<Compile Include="Sorting\ShellSorter.cs" />
5463
<Compile Include="Strings\EditDistance.cs" />
5564
<Compile Include="Strings\EditDistanceCostsMap.cs" />
5665
<Compile Include="Strings\Permutations.cs" />

Algorithms/Sorting/BucketSorter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Algorithms.Sorting
88
/// </summary>
99
public static class BucketSorter
1010
{
11-
public static void BucketSort<T>(this IList<int> collection)
11+
public static void BucketSort(this IList<int> collection)
1212
{
1313
collection.BucketSortAscending();
1414
}

0 commit comments

Comments
 (0)