Changeset 418


Ignore:
Timestamp:
Dec 2, 2005, 12:52:12 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Made output from matrix and vector coherrent.

Location:
branches/better_matrix_class/lib/gslapi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/better_matrix_class/lib/gslapi/matrix.cc

    r417 r418  
    148148  std::ostream& operator<<(std::ostream& s, const matrix& m)
    149149  {
    150     using namespace std;
    151     s.setf( ios::dec );
     150    s.setf(std::ios::dec);
    152151    s.precision(12);
    153152    for(size_t i=0, j=0; i<m.rows(); i++)
  • branches/better_matrix_class/lib/gslapi/vector.cc

    r415 r418  
    201201  std::ostream& operator<<(std::ostream& s, const vector& a)
    202202  {
    203     s.setf(std::ios::fixed);
     203    s.setf(std::ios::dec);
    204204    s.precision(12);
    205205    for (size_t j = 0; j < a.size(); ++j) {
Note: See TracChangeset for help on using the changeset viewer.