Changeset 245


Ignore:
Timestamp:
Feb 22, 2005, 4:21:18 PM (17 years ago)
Author:
Peter
Message:

fixed major bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/RegressionLocal.cc

    r237 r245  
    7575      y_.push_back(0.0);
    7676      y_err_.push_back(0.0);
    77       regressor_->predict(x_[i], y_[i], y_err_[i]);
     77      regressor_->predict(x_[x_.size()-1], y_[y_.size()-1],
     78                          y_err_[y_err_.size()-1]);
    7879    }
    7980  }
Note: See TracChangeset for help on using the changeset viewer.