 Timestamp:
 Sep 3, 2008, 6:46:34 PM (13 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/regression/Local.cc
r1450 r1472 58 58 if (step_size==0){ 59 59 std::stringstream ss; 60 ss << "yat::regression:: local: step_size must be larger than zero.";60 ss << "yat::regression::Local: step_size must be larger than zero."; 61 61 throw std::runtime_error(ss.str()); 62 62 } 63 63 if (nof_points<3){ 64 64 std::stringstream ss; 65 ss << "yat::regression:: local: too few data points. "65 ss << "yat::regression::Local: too few data points. " 66 66 << "At least 3 data points are needed to perform fitting."; 67 throw std::runtime_error(ss.str()); 68 } 69 if (data_.size()<step_size){ 70 std::stringstream ss; 71 ss << "yat::regression::Local: too large step_size " 72 << "step_size, " << step_size 73 << ", is larger than number of added data points " << data_.size(); 67 74 throw std::runtime_error(ss.str()); 68 75 }
Note: See TracChangeset
for help on using the changeset viewer.