Commit 2ea248ea authored by hvellyr's avatar hvellyr Committed by Paolo Ambrosio
Browse files

Fix compiler warning about type mismatch

parent 162fc1a4
......@@ -55,13 +55,13 @@ void CukeEngineImpl::invokeStep(const std::string & id, const invoke_args_type &
if (tableArg.shape()[0] > 1 && tableArg.shape()[1] > 0) {
Table & commandTableArg = commandArgs.getVariableTableArg();
for (table_index j = 0; j < tableArg.shape()[1]; ++j) {
for (table_index j = 0; j < table_index(tableArg.shape()[1]); ++j) {
commandTableArg.addColumn(tableArg[0][j]);
}
for (table_index i = 1; i < tableArg.shape()[0]; ++i) {
for (table_index i = 1; i < table_index(tableArg.shape()[0]); ++i) {
Table::row_type row;
for (table_index j = 0; j < tableArg.shape()[1]; ++j) {
for (table_index j = 0; j < table_index(tableArg.shape()[1]); ++j) {
row.push_back(tableArg[i][j]);
}
commandTableArg.addRow(row);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment