mhampton wrote:
> I agree this is a bug. Another way that works in the above example
> is:
>
> vector(RDF, vector((1, 6.8)))
>
> which I like a little better because I think its good when code is
> explicit about what sort of object is being dealt with.
Then you are changing the ring, though.
I agree this is a bug. Another way that works in the above example
is:
vector(RDF, vector((1, 6.8)))
which I like a little better because I think its good when code is
explicit about what sort of object is being dealt with.
Marshall
On Jan 14, 3:41 pm, Jason Grout wrote:
> slabbe wrote:
> >
slabbe wrote:
> Hi,
>
> Is there a reason why, in sage 3.2.2, the following works :
>
> sage: vector(vector((1, 6)))
> (1, 6)
>
> but the following doesn't :
>
> sage: vector(vector((1, 6.8)))
> Traceback (most recent call last):
> ...
> TypeError: _vector_() takes exactly one argument (0 give