Skip to content

Commit 9c418e7

Browse files
committed
review comment
1 parent a3419f4 commit 9c418e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public sealed class InputOutputColumnPair
2929
/// <param name="inputColumnName">Name of the column to transform. If set to <see langword="null"/>, the value of the <paramref name="outputColumnName"/> will be used as source.</param>
3030
public InputOutputColumnPair(string outputColumnName, string inputColumnName = null)
3131
{
32-
InputColumnName = inputColumnName;
32+
InputColumnName = inputColumnName ?? outputColumnName;
3333
OutputColumnName = outputColumnName;
3434
}
3535
}

0 commit comments

Comments
 (0)