Skip to content

Commit

Permalink
Uniformize adding parameter child nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Morendil committed Nov 8, 2018
1 parent e059fec commit 0635c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfisca_core/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def merge(self, other):
In case of child name conflict, the other node child will replace the current node child.
"""
for child_name, child in other.children.items():
self.children[child_name] = child
self.add_child(child_name, child)

def add_child(self, name, child):
"""
Expand Down

0 comments on commit 0635c47

Please sign in to comment.