Ticket #2: csv-bug-fix.patch
File csv-bug-fix.patch, 451 bytes (added by , 15 years ago) |
---|
-
csv.cc
old new void r_Conv_CSV::print(std::ofstream &f, 106 106 if (dim==1) { 107 107 for (int i=0; i<dims[0]-1; ++i, val++) 108 108 f << (castType)val[0] << ","; 109 f << (castType) val[ dims[0]-1]; val++;109 f << (castType) val[0]; val++; 110 110 } else { 111 111 for (int i=0; i<dims[0]-1; ++i, val++) { 112 112 f << "{";