Skip to content

Commit

Permalink
no parents
Browse files Browse the repository at this point in the history
  • Loading branch information
jrising committed Jan 26, 2022
1 parent 6dbe0eb commit 8c42aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpret/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def shallow_copy(config):
"""

if isinstance(config, ConfigDict):
newconfig = ConfigDict(shallow_copy(config.config), prefix=config.prefix, parent=config.parent)
newconfig = ConfigDict(shallow_copy(config.config), prefix=config.prefix)
newconfig.accessed = config.accessed
return newconfig

Expand Down

0 comments on commit 8c42aac

Please sign in to comment.