Skip to content

Commit

Permalink
add STATE also in the assembler when doing the merging of variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiofumagalli committed Jul 12, 2019
1 parent 77870a3 commit 6b08d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/porepy/numerics/mixed_dim/assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ def merge_variable(self, var):
else: # This is really an edge
data = self.gb.edge_props(g)
if var_name == var:
loc_value = data[var_name]
loc_value = data[pp.STATE][var_name]
else:
loc_value = 0
values[dof[bi] : dof[bi + 1]] = loc_value
Expand Down

0 comments on commit 6b08d96

Please sign in to comment.