CPPLapack Code
Status: Beta
Brought to you by:
yonishi
changed | /trunk/include/_dgsmatrix-/_dgsmatrix-io.hpp |
changed | /trunk/include/dgsmatrix-/dgsmatrix-io.hpp |
--- a/trunk/include/_dgsmatrix-/_dgsmatrix-io.hpp +++ b/trunk/include/_dgsmatrix-/_dgsmatrix-io.hpp @@ -44,8 +44,8 @@ for(q=mat.Rows[i].begin(); q!=mat.Rows[i].end(); q++){ if(q->first==j){ break; } } - if(q!=mat.Rows[i].end()){ s << mat.Array[q->second] << " "; } - else{ s << "x "; } + if(q!=mat.Rows[i].end()){ s << " " << mat.Array[q->second]; } + else{ s << " x"; } } s << std::endl; }