dynare/mex/sources/bytecode
Sébastien Villemot 9e222734a8
Bytecode: fix logic in routine that substracts two sparse matrices
The logic of the dynSparseMatrix::Sparse_substract_SA_SB() routine was
incorrect.

In some cases, it would read past the last nonzero elements of the A matrix,
and consequently write past the number of allocated nonzero elements of the C
matrix.

This would lead to crashes and, probably, to wrong results under certain
circumstances.

Closes: #1652
2019-11-27 16:57:47 +01:00
..
testing Use Unicode copyright symbol (in UTF-8 encoding) 2019-04-16 11:42:16 +02:00
ErrorHandling.hh Ask GCC to warn about C-style casts (-Wold-style-cast) 2019-04-23 13:03:20 +02:00
Evaluate.cc Ask GCC to warn about C-style casts (-Wold-style-cast) 2019-04-23 13:03:20 +02:00
Evaluate.hh Use Unicode copyright symbol (in UTF-8 encoding) 2019-04-16 11:42:16 +02:00
Interpreter.cc Ask GCC to warn about C-style casts (-Wold-style-cast) 2019-04-23 13:03:20 +02:00
Interpreter.hh Use Unicode copyright symbol (in UTF-8 encoding) 2019-04-16 11:42:16 +02:00
Mem_Mngr.cc Ask GCC to warn about C-style casts (-Wold-style-cast) 2019-04-23 13:03:20 +02:00
Mem_Mngr.hh Use Unicode copyright symbol (in UTF-8 encoding) 2019-04-16 11:42:16 +02:00
SparseMatrix.cc Bytecode: fix logic in routine that substracts two sparse matrices 2019-11-27 16:57:47 +01:00
SparseMatrix.hh Use Unicode copyright symbol (in UTF-8 encoding) 2019-04-16 11:42:16 +02:00
SparseMatrix_kernel.cu - adds the kernel CUDA file for SparseMatrix 2013-03-22 16:36:30 +01:00
bytecode.cc Ask GCC to warn about C-style casts (-Wold-style-cast) 2019-04-23 13:03:20 +02:00