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 5e72ba0 commit f46427b
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 @@ -231,7 +231,7 @@ void OcFullMatrix::setdiag(int k, Vect* in) {
}
} else {
// 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.
for (i = -k, j = 0; i < row && j < col; ++i, ++j) {
#ifdef WIN32
m_set_val(m_, i, j, v_elem(in, i));
Expand Down

0 comments on commit f46427b

Please sign in to comment.