From f46427b317d4e7eca52e6cf2443a0d09a8c70bff Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Tue, 29 Aug 2023 09:54:31 +0200 Subject: [PATCH] Update src/ivoc/ocmatrix.cpp Co-authored-by: Luc Grosheintz --- src/ivoc/ocmatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ivoc/ocmatrix.cpp b/src/ivoc/ocmatrix.cpp index 123de08771..b1d41ff701 100644 --- a/src/ivoc/ocmatrix.cpp +++ b/src/ivoc/ocmatrix.cpp @@ -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));