Skip to content
Snippets Groups Projects
Commit 1cba9cb4 authored by NickDraper's avatar NickDraper
Browse files

I had a guard term the wrong way around

Fixed now

re #13938
parent bfcb08b8
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ Matrix<T>::Matrix(const Matrix<T> &A, const size_t nrow, const size_t ncol)
throw Kernel::Exception::IndexError(ncol, A.ny,
"Matrix::Constructor without col");
setMem(nx, ny);
if (!V) {
if (V) {
size_t iR(0);
for (size_t i = 0; i <= nx; i++) {
if (i != nrow) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment