We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12eb6f8 commit 210b0e5Copy full SHA for 210b0e5
src/Modules/Legacy/FiniteElements/ApplyFEMVoltageSource.cc
@@ -125,10 +125,11 @@ void ApplyFEMVoltageSource::execute()
125
SparseRowMatrixHandle mat(matrix_cast::as_sparse(stiffnessMatrix));
126
DenseColumnMatrixHandle rhs(new DenseColumnMatrix(nsize));
127
128
- DenseColumnMatrixHandle rhsIn(matrix_cast::as_column((*rhsMatrix)));
129
if (rhsMatrix)
130
{
131
//rhsIn = rhsMatrix->column();
+ DenseColumnMatrixHandle rhsIn(matrix_cast::as_column((*rhsMatrix)));
132
+
133
if (rhsIn && (rhsIn->nrows() == nsize))
134
135
for (unsigned int i = 0; i < nsize; i++)
0 commit comments