From 6d4c9bf58612407a44dfe7ed1fec0767b530fc6e Mon Sep 17 00:00:00 2001 From: Danny Perry Date: Wed, 23 Jul 2014 18:24:36 -0600 Subject: [PATCH] size of q buffer should actually be (this->rows())*pcols. --- Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_sparse_matrix.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_sparse_matrix.txx b/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_sparse_matrix.txx index a94889c7622..8f54a10c53d 100644 --- a/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_sparse_matrix.txx +++ b/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_sparse_matrix.txx @@ -157,7 +157,7 @@ void vnl_sparse_matrix::mult(unsigned int prows, unsigned int pcols, assert(prows == columns()); // Clear q matrix. - int size = prows*pcols; + int size = rows()*pcols; for (int temp=0; temp