Skip to content

Commit 15032fb

Browse files
Merge pull request #14216 from KratosMultiphysics/core/hotfix-csr-matrix-map-constructor
[Hotfix][Core] Proper initialize in matrix map CSR constructor
2 parents e409856 + fd336ac commit 15032fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kratos/containers/csr_matrix.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ class CsrMatrix final
133133
mNrows = size1();
134134
ComputeColSize();
135135
ResizeValueData(mColIndices.size());
136+
SetValue(0.0);
136137

137138
// Assemble data from matrix map
138139
this->BeginAssemble();

0 commit comments

Comments
 (0)