[sage-devel] Re: sage -br question

2009-01-22 Thread David Møller Hansen
Oh no... I forgot to search the groups before asking. Sorry every one - this exact same question was asked in three days exactly a year ago from know :-) The solution was - indentation of the function - just like it still is. My bad. My editor did not indent with 4 space when hitting the tab but

[sage-devel] Re: sage -br question

2009-01-21 Thread David Møller Hansen
> Could you be more specific about the function you wrote and how you > tried to access it? Oh yes, I define the function weil_pairing in the class EllipticCurvePoint_finite_field like this class EllipticCurvePoint_finite_field(EllipticCurvePoint_field): ... def weil_pairing(self, Q, n,

[sage-devel] Re: sage -br question

2009-01-20 Thread Robert Bradshaw
On Jan 20, 2009, at 2:17 PM, David Møller Hansen wrote: > > So I tried to make my own branch and modified a file in the branch by > adding a function to a class. > > I ran sage -br and it seemed to discover the changed file and build > a .pyc from it (I guess) but when I tried to run the function

[sage-devel] Re: sage -br question

2009-01-20 Thread Mike Hansen
Hello, On Tue, Jan 20, 2009 at 2:17 PM, David Møller Hansen wrote: > I ran sage -br and it seemed to discover the changed file and build > a .pyc from it (I guess) but when I tried to run the function from > sage it wasn't there. Could you be more specific about the function you wrote and how y