| 1 | initial version |
f({x:2+2i}) can never have worked: 2i isn't valid Sage. Either use *I or j, depending on where you want the result to live:
sage: 2+2i
------------------------------------------------------------
File "<ipython console>", line 1
Integer(2)+2i
^
SyntaxError: invalid syntax
sage: 2+2j
2.00000000000000 + 2.00000000000000*I
sage: parent(_)
Complex Field with 53 bits of precision
sage: 2+2*I
2*I + 2
sage: parent(_)
Symbolic Ring
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.