Ask Your Question

# Revision history [back]

### Evaluating the error "Can only substitute elements of positive valuation"

I'm trying to work with sage's weierstrass_p function for elliptic curves, and I'm getting an error that I can't interpret.

This is what I'm running,

E = EllipticCurve('11a1')
WP = E.weierstrass_p()
L = E.lseries()
WP(L(1))


The error I'm getting is "Can only substitute elements of positive valuation"

And I just don't know why sage doesn't want to evaluate the function at the given value. Any thoughts would be really appreciated!

 2 retagged FrédéricC 2449 ●3 ●28 ●50

### Evaluating the error "Can only substitute elements of positive valuation"

I'm trying to work with sage's weierstrass_p function for elliptic curves, and I'm getting an error that I can't interpret.

This is what I'm running,

E = EllipticCurve('11a1')
WP = E.weierstrass_p()
L = E.lseries()
WP(L(1))


The error I'm getting is "Can only substitute elements of positive valuation"

And I just don't know why sage doesn't want to evaluate the function at the given value. Any thoughts would be really appreciated!