Merge branch 'master' of ssh://github.com/tqchen/rabit

This commit is contained in:
tqchen 2014-12-03 22:28:59 -08:00
commit 9da3c6c573

View File

@ -82,7 +82,7 @@ struct Matrix {
if (!strcmp(fname, "stdout")) {
fo = stdout;
} else {
fo = utils::FopenCheck(fname, "r");
fo = utils::FopenCheck(fname, "w");
}
fprintf(fo, "%lu %lu\n", nrow, ncol);
for (size_t i = 0; i < data.size(); ++i) {