rem: if (self.dimensions().rows == matrix.dimensions().rows) { for (i = 0; i < self.dimensions().rows; i++) { for (j = 0; j < matrix.dimensions().cols; j++) { self.elements[i][self.dimensions().rows + j] = matrix.e(i+1,j+1); 
add: if (self.rows() == matrix.rows()) { for (i = 0; i < self.rows(); i++) { for (j = 0; j < matrix.cols(); j++) { self.elements[i][self.rows() + j] = matrix.e(i+1,j+1); 
context:     this.augment = function(matrix) {      matrix = Matrix.create(matrix); // Allows us to supply vectors      var self = this.dup();      var i, j;      if (self.dimensions().rows == matrix.dimensions().rows) {        for (i = 0; i < self.dimensions().rows; i++) {          for (j = 0; j < matrix.dimensions().cols; j++) {            self.elements[i][self.dimensions().rows + j] = matrix.e(i+1,j+1);          }        }        return self;      } else {        return null;      }    };
meta: 3877	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3877/5342f77e527065daffa19bf795180e4a4cdb069b/jsmetric.src.js/buggy/jsmetric.src.js