Skip to content

Commit 77f46a3

Browse files
committed
Fixed data row fill if new series is longer than table.
1 parent 7a07b49 commit 77f46a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/table/datatable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ DataTable::DataIndex DataTable::addTypedColumn(
7676
{
7777
Row row;
7878
for (auto j = 0u; j < colIndex; j++)
79-
row.pushBack(infos[j].registerValue(T()));
79+
row.pushBack(infos[j].registerValue(std::string()));
8080

8181
auto value = i < values.size() ? values[i] : T();
8282
row.pushBack(infos.at(colIndex).registerValue(value));

0 commit comments

Comments
 (0)