Commit 2c6df487 authored by oscar's avatar oscar

提交测试

parent d024aaf5
......@@ -20,7 +20,7 @@ std::string GetMatrixStr(float* data_ptr, int col, int row)
for (int j = 0; j < col; j++)
{
char log[128] = {};
sprintf(log, "%f,", data_ptr[i][j]);
sprintf(log, "%f,", data_ptr[i*col+j]);
str += log;
}
}
......
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