Skip to content

Commit

Permalink
Update src/ivoc/ocmatrix.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Luc Grosheintz <[email protected]>
  • Loading branch information
alkino and 1uc authored Aug 29, 2023
1 parent f46427b commit 58539ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ivoc/ocmatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ void OcSparseMatrix::setdiag(int k, Vect* in) {
} else {
for (i = -k, j = 0; i < row && j < col; ++i, ++j) {
// Yes for negative diagonal we set the vector from the middle
// The input vector should ALWAYS be the size of biggest diagonal
// The input vector should ALWAYS have `nrows` elements.
if ((p = pelm(i, j)) != nullptr) {
#ifdef WIN32
*p = v_elem(in, i);
Expand Down

0 comments on commit 58539ec

Please sign in to comment.