Skip to content

Commit 3139697

Browse files
flash2048codemzs
authored andcommitted
Fix assignment of a variable to itself (#3912)
1 parent d0b3f86 commit 3139697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.Core/Utilities/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ public static void BuildSubsetMaps(int lim, IEnumerable<DataViewSchema.Column> c
841841

842842
// REVIEW: Better names?
843843
List<int> mapList = new List<int>();
844-
invMap = invMap = Enumerable.Repeat(-1, lim).ToArray<int>();
844+
invMap = Enumerable.Repeat(-1, lim).ToArray<int>();
845845

846846
foreach (var col in columnsNeeded)
847847
{

0 commit comments

Comments
 (0)