- edited description
Unable to update Parameters with Parameters
Issue #676
resolved
This used to work, but now gives the error below
from dolfin import *
ps = parameters.copy()
parameters.update(ps)
File "/home/meg/local/fenics/master/lib/python2.7/site-packages/dolfin/cpp/common.py", line 2492, in update self_value.update(other_value)
File "/home/meg/local/fenics/master/lib/python2.7/site-packages/dolfin/cpp/common.py", line 2494, in update self.setitem(key, other_value)
File "/home/meg/local/fenics/master/lib/python2.7/site-packages/dolfin/cpp/common.py", line 2477, in setitem raise TypeError("can only set 'int', 'bool', 'float' and 'str' parameters")
TypeError: can only set 'int', 'bool', 'float' and 'str' parameters
Comments (3)
-
reporter -
reporter - changed status to resolved
Fix issue
#676"Unable to update Parameters with Parameters"→ <<cset 7c5943fe6639>>
-
- removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment