Skip to content

Commit

Permalink
Fix a compiler error on GCC 15
Browse files Browse the repository at this point in the history
  • Loading branch information
musicinmybrain committed Jan 17, 2025
1 parent 4a1e139 commit d1f618f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linbox/matrix/sparsematrix/sparse-tpl-matrix-omp.h
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ class SparseMatrix<Field_, SparseMatrixFormat::TPL_omp> : public BlackboxInterfa
typedef typename selfvec::const_iterator selfiter;
otheriter vp_p; selfiter v_p;

Ap.data_.resize(A.data.size());
Ap.data_.resize(A.data_.size());
for (v_p = A.data_.begin(), vp_p = Ap.data_.begin();
v_p != A.data.end(); ++ v_p, ++ vp_p)
v_p != A.data_.end(); ++ v_p, ++ vp_p)
hom.image (vp_p->elt, v_p->elt);
}
};
Expand Down

0 comments on commit d1f618f

Please sign in to comment.