On 06/29/11 16:28, Jason Grout wrote:
> On 6/29/11 3:22 PM, Michael Orlitzky wrote:
>> This is probably just a case of "don't do that," but I thought I'd check:
>>
>> sage: c = [ var('c[0]') ]
>> sage: system = c[0]*x == 1
>> sage: solve(system, c[0])
>> <boom>
>> ...
>> TypeError: unable to make sense of Maxima expression '[c[0]==1/x]' in
>> Sage
>
> I think the problem here is that c[0] is not a valid variable name. I
> believe there is a patch in 4.7.1 that would make var error on the first
> line in your code.
Don't do that, got it =)
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org