Re: [sage-devel] Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given

2014-02-18 Thread aesilver360
Ticket: http://trac.sagemath.org/ticket/15835 On Tuesday, February 18, 2014 2:07:53 PM UTC-5, Martin R. Albrecht wrote: > > Looks like a bug to me, i.e. the mod2 submatrix command should assume > default parameters when less than four parameters are given. > > I am happy to review your patch ;)

Re: [sage-devel] Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given

2014-02-18 Thread aesilver360
also all the existing examples in the source code gave the same results, if we have more we can test them I suppose On Tuesday, February 18, 2014 2:07:53 PM UTC-5, Martin R. Albrecht wrote: > > Looks like a bug to me, i.e. the mod2 submatrix command should assume > default parameters when less t

Re: [sage-devel] Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given

2014-02-18 Thread aesilver360
I spent a while running print statements. I'm not sure how this even worked previously (was it figuring out the rows and cols based on the "self" passed as a parameter?) There isn't really a sensible default to pass to the sub matrix function, in my opinion, because there isn't a sensible defau

Re: [sage-devel] Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given

2014-02-18 Thread Martin R. Albrecht
Looks like a bug to me, i.e. the mod2 submatrix command should assume default parameters when less than four parameters are given. I am happy to review your patch ;) On 18/02/14 18:38, aesilver...@gmail.com wrote: > I'm trying to compute some homology stuff by finding the smith normal > form of (

[sage-devel] Re: systemd and trac #381

2014-02-18 Thread Andrey Novoseltsev
On Monday, 17 February 2014 15:55:45 UTC-7, Volker Braun wrote: > > I had some troubles running the buildbot slave through systemd. You > service will be selinux confined and some doctests with external programs > fail on Fedora 20. Nothing particularly important afair. > Somewhat (un)related -

[sage-devel] Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given

2014-02-18 Thread aesilver360
I'm trying to compute some homology stuff by finding the smith normal form of (fairly) large matrices. I do the following: A = Matrix(IntegerModRing(2),[[1,0,2],[1,0,1]]) A.smith_form() and I get the following error: TypeError Traceback (most recent call last)

[sage-devel] Smith Normal Form Integers Mod 2 - TypeError: submatrix() takes exactly 4 positional arguments

2014-02-18 Thread aesilver360
I'm trying to compute some homology stuff by finding the smith normal form of (fairly) large matrices. I do the following: A = Matrix(IntegerModRing(2),[[1,0,2],[1,0,1]]) A.smith_form() and I get the following error: TypeError Traceback (most recent call last) in () > 1 A.smith_form() /Us

Re: [sage-devel] password to login to sage.

2014-02-18 Thread Thierry
Hi, On Tue, Feb 18, 2014 at 09:32:19AM -0800, gavin kelly wrote: > For some reason my sage has logged me out and now i can't get back in. I was > told that the username was:admin and the password was:sage though this is not > working. Any ideas? > > would be much appreciated. Such question sh

[sage-devel] password to login to sage.

2014-02-18 Thread gavin kelly
For some reason my sage has logged me out and now i can't get back in. I was told that the username was:admin and the password was:sage though this is not working. Any ideas? would be much appreciated. -- You received this message because you are subscribed to the Google Groups "sage-devel"

[sage-devel] Fwd: Small problem in sagemath-upstream-binary package

2014-02-18 Thread Jan Groenewald
-- Forwarded message -- From: Laurent Bonnaud Date: 18 February 2014 18:19 Subject: Re: Small problem in sagemath-upstream-binary package To: Jan Groenewald On 18/02/2014 16:50, Jan Groenewald wrote: > Please wait an hour or two. I have just copied the existing binaries to > qu

[sage-devel] Re: Small problem in sagemath-upstream-binary package

2014-02-18 Thread Jan Groenewald
Hi You can see here when they are ready when they stop saying pending: https://launchpad.net/~aims/+archive/sagemath/+packages Regards, Jan On 18 February 2014 17:50, Jan Groenewald wrote: > Hi > > Please wait an hour or two. I have just copied the existing binaries to > quantal, saucy, and t

[sage-devel] Re: Small problem in sagemath-upstream-binary package

2014-02-18 Thread Jan Groenewald
Hi Please wait an hour or two. I have just copied the existing binaries to quantal, saucy, and trusty. I was waiting to see if they seem stable after file layout changes and hg-> git move. I do see in my new packages the .hg folder you mention does not exist. Regards, Jan On 18 February 2014 1

[sage-devel] Re: Small problem in sagemath-upstream-binary package

2014-02-18 Thread Jan Groenewald
Hi Laurent, Can you upgrade to the latest version and see whether the problem is still there? Regards, Jan On 18 February 2014 17:22, Laurent Bonnaud wrote: > Hi Jan, > > first I would like to thank you for making and distributing this package: > > Package: sagemath-upstream-binary > Maintai