Skip to content

Commit 763274f

Browse files
#1970 fix test
1 parent ff81b30 commit 763274f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pybamm/parameters/parameter_values.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,9 @@ def update(self, values, check_conflict=False, check_already_exists=True, path="
337337
# If data is provided as a 2-column array (1D data),
338338
# convert to two arrays for compatibility with 2D data
339339
# see #1805
340-
name, data = value
340+
func_name, data = value
341341
data = ([data[:, 0]], data[:, 1])
342-
self._dict_items[name] = (name, data)
342+
self._dict_items[name] = (func_name, data)
343343
else:
344344
self._dict_items[name] = value
345345
# reset processed symbols

0 commit comments

Comments
 (0)