message: Fix OpenMP ELL kernels with change from `get_max_nonzeros_per_row()` to `get_num_stored_elements_per_row()`.
diff: @@ -55,14 +55,14 @@ void spmv(std::shared_ptr<const OmpExecutor> exec,
  const matrix::Ell<ValueType, IndexType> *a,
  const matrix::Dense<ValueType> *b, matrix::Dense<ValueType> *c)
  {
  - auto max_nonzeros_per_row = a->get_max_nonzeros_per_row();
  + auto num_stored_elements_per_row = a->get_num_stored_elements_per_row();
  #pragma omp parallel for
  for (size_type row = 0; row < a->get_size().num_rows; row++) {
  for (size_type j = 0; j < c->get_size().num_cols; j++) {
  c->at(row, j) = zero<ValueType>();
  }
  - for (size_type i = 0; i < max_nonzeros_per_row; i++) {
  + for (size_type i = 0; i < num_stored_elements_per_row; i++) {
  auto val = a->val_at(row, i);
  auto col = a->col_at(row, i);
  for (size_type j = 0; j < c->get_size().num_cols; j++) {
  @@ -83,7 +83,7 @@ void advanced_spmv(std::shared_ptr<const OmpExecutor> exec,
  const matrix::Dense<ValueType> *beta,
  matrix::Dense<ValueType> *c)
  {
  - auto max_nonzeros_per_row = a->get_max_nonzeros_per_row();
  + auto num_stored_elements_per_row = a->get_num_stored_elements_per_row();
  auto alpha_val = alpha->at(0, 0);
  auto beta_val = beta->at(0, 0);
  @@ -92,7 +92,7 @@ void advanced_spmv(std::shared_ptr<const OmpExecutor> exec,
  for (size_type j = 0; j < c->get_size().num_cols; j++) {
  c->at(row, j) *= beta_val;
  }
  - for (size_type i = 0; i < max_nonzeros_per_row; i++) {
  + for (size_type i = 0; i < num_stored_elements_per_row; i++) {
  auto val = a->val_at(row, i);
  auto col = a->col_at(row, i);
  for (size_type j = 0; j < c->get_size().num_cols; j++) {
  @@ -113,14 +113,15 @@ void convert_to_dense(std::shared_ptr<const OmpExecutor> exec,
  {
  auto num_rows = source->get_size().num_rows;
  auto num_cols = source->get_size().num_cols;
  - auto max_nonzeros_per_row = source->get_max_nonzeros_per_row();
  + auto num_stored_elements_per_row =
  + source->get_num_stored_elements_per_row();
  #pragma omp parallel for
  for (size_type row = 0; row < num_rows; row++) {
  for (size_type col = 0; col < num_cols; col++) {
  result->at(row, col) = zero<ValueType>();
  }
  - for (size_type i = 0; i < max_nonzeros_per_row; i++) {
  + for (size_type i = 0; i < num_stored_elements_per_row; i++) {
  result->at(row, source->col_at(row, i)) += source->val_at(row, i);
  }
  }
  