Skip to content

Commit

Permalink
small clang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
YaqiWang committed Jun 19, 2019
1 parent bfb7306 commit dd1eeab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions framework/src/base/Assembly.C
Original file line number Diff line number Diff line change
Expand Up @@ -3091,9 +3091,9 @@ Assembly::addJacobianBlock(SparseMatrix<Number> & jacobian,
if (scaling_factor[i] != 1.0)
sub *= scaling_factor[i];

// If we're computing the initial jacobian for automatically scaling variables we do not want to
// constrain the element matrix because it introduces 1s on the diagonal for the constrained
// dofs
// If we're computing the initial jacobian for automatically scaling variables we do not want
// to constrain the element matrix because it introduces 1s on the diagonal for the
// constrained dofs
if (!_sys.computingInitialJacobian())
_dof_map.constrain_element_matrix(sub, di, dj, false);

Expand Down Expand Up @@ -3143,9 +3143,9 @@ Assembly::cacheJacobianBlock(DenseMatrix<Number> & jac_block,
if (scaling_factor[i] != 1.0)
sub *= scaling_factor[i];

// If we're computing the initial jacobian for automatically scaling variables we do not want to
// constrain the element matrix because it introduces 1s on the diagonal for the constrained
// dofs
// If we're computing the initial jacobian for automatically scaling variables we do not want
// to constrain the element matrix because it introduces 1s on the diagonal for the
// constrained dofs
if (!_sys.computingInitialJacobian())
_dof_map.constrain_element_matrix(sub, di, dj, false);

Expand Down

0 comments on commit dd1eeab

Please sign in to comment.