]> git.tdb.fi Git - libs/math.git/commit
Fix a memory access error in DynamicMatrix::invert
authorMikko Rasa <tdb@tdb.fi>
Sun, 2 Jun 2019 13:23:08 +0000 (16:23 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 2 Jun 2019 16:13:09 +0000 (19:13 +0300)
commit459c248db8804b2a51010c89b72d3a0d326267e9
tree4025203f5ad70f94f35d20fe9ea5c464b2537317
parent44a1fb77d9199ce76fec21ee8aaa6df38e141bf0
Fix a memory access error in DynamicMatrix::invert

Gauss_jordan returns a reference to the result, which is a local
variable.  It needs to be assigned to *this to retain it.
source/linal/dynamicmatrix.h