From 6b08d96d615e6eb7559913ac16c58da2c9f002fe Mon Sep 17 00:00:00 2001 From: Alessio Fumagalli Date: Fri, 12 Jul 2019 16:50:08 +0200 Subject: [PATCH] add STATE also in the assembler when doing the merging of variables --- src/porepy/numerics/mixed_dim/assembler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/porepy/numerics/mixed_dim/assembler.py b/src/porepy/numerics/mixed_dim/assembler.py index 436af4480d..e47abe29c0 100644 --- a/src/porepy/numerics/mixed_dim/assembler.py +++ b/src/porepy/numerics/mixed_dim/assembler.py @@ -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