Skip to content

Commit

Permalink
Replaced += by add_entry! (pending work from PR #249)
Browse files Browse the repository at this point in the history
  • Loading branch information
amartinhuertas committed Jul 9, 2020
1 parent e193c0b commit f17c570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FESpaces/SparseMatrixAssemblers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function _assemble_matrix_and_vector!(A,b,vals_cache,rows_cache,cols_cache,cell_
if gidrow > 0 && row_mask(strategy,gidrow)
_gidrow = row_map(strategy,gidrow)
bi = vecvals[i]
b[_gidrow] += bi
add_entry!(b,bi,_gidrow)
end
end
end
Expand Down Expand Up @@ -354,7 +354,7 @@ end
if gidrow > 0 && row_mask(strategy,gidrow)
_gidrow = row_map(strategy,gidrow)
bi = vecvals[i]
b[_gidrow] += bi
add_entry!(b,bi,_gidrow)
end
end
end
Expand Down

0 comments on commit f17c570

Please sign in to comment.