I posted this question to the Sage community on Google+ a while back, but didn't get a response so I'll try here.

I'm getting behavior that seems wrong from deepcopying symbolic expressions:

$ sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 5.12, Release Date: 2013-10-07                        │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage: s = symbolic_expression( 'a(x)' )
sage: s.substitute_function( sage.symbolic.function_factory.function('a'), sage.symbolic.function_factory.function('A') )
A(x)
sage: t = deepcopy( s )
sage: t.substitute_function( sage.symbolic.function_factory.function('a'), sage.symbolic.function_factory.function('A') )
a(x)

The symbolic expression no longer handles substitutions correctly. Please advise me as to whether I'm wrong about this, or how to report it as a bug.

Thank you,
Lee Worden

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to