Merge branch 'master' of ssh://github.com/tqchen/rabit
This commit is contained in:
commit
9da3c6c573
@ -82,7 +82,7 @@ struct Matrix {
|
|||||||
if (!strcmp(fname, "stdout")) {
|
if (!strcmp(fname, "stdout")) {
|
||||||
fo = stdout;
|
fo = stdout;
|
||||||
} else {
|
} else {
|
||||||
fo = utils::FopenCheck(fname, "r");
|
fo = utils::FopenCheck(fname, "w");
|
||||||
}
|
}
|
||||||
fprintf(fo, "%lu %lu\n", nrow, ncol);
|
fprintf(fo, "%lu %lu\n", nrow, ncol);
|
||||||
for (size_t i = 0; i < data.size(); ++i) {
|
for (size_t i = 0; i < data.size(); ++i) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user