Incorrect matrix access via [] instead of (x,y).

Why did this even compile?
This commit is contained in:
James Cline
2010-07-13 19:43:59 +00:00
parent fa6f9505ab
commit e4efc7eb33
@@ -55,7 +55,7 @@ index_t Dataset::n_labels() const {
double current_label;
std::vector<double> labels_list;
labels_list.push_back(matrix_[label_row_idx,0]);
labels_list.push_back(matrix_(label_row_idx,0));
n_labels++;
for(i = 1; i < matrix_.n_cols; i++) {