Changeset 567


Ignore:
Timestamp:
Mar 21, 2006, 9:28:51 PM (16 years ago)
Author:
Markus Ringnér
Message:

Fixed error message when ,atrix contains elements not covertible to double or nan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/gslapi/matrix.cc

    r516 r567  
    6565        if(!ok)
    6666          break;
    67 
     67       
    6868        if(utility::is_double(element)) {
    6969          v.push_back(atof(element.c_str()));
     
    7474        else {
    7575          // Jari, this should be communicated with as an exception.
    76           //          std::cerr << "Warning: '" << vec_str[i]
    77           //                    << "' is not an integer." << std::endl;
     76          std::cerr << "Warning: '" << element
     77                    << "' is not accepted as a matrix element." << std::endl;
    7878        }
    7979      }           
Note: See TracChangeset for help on using the changeset viewer.