On Saturday, June 27, 2015 at 5:14:33 PM UTC+2, Matt Lykins wrote:
>
> Thanks for the help.
>
> Here is the old var statement:
> dr, r1, r2, dphi_0, lda = var('dr r1 r2 lda dphi_0')
>
> Here is what it should have been:
> dr, r1, r2, lda, dphi_0 = var('dr r1 r2 lda dphi_0')
>
More importantly, in order to eliminate this type of typo, the top-level
var binds the declared variables to names in the global namespace already.
Thus, the only statement you need is
var('dr r1 r2 lda dphi_0')
If the binding behaviour is not desired then use a different "var". For
instance:
dr, r1, r2, lda, dphi_0 = SR.var('dr r1 r2 lda dphi_0')
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.