Loading...

sage-devel@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[sage-devel] Re: Short script dumps me at the command line Bill Hart Thu Feb 16 20:00:27 2012

Actually, I think I missed a line. Here is the script that causes the
problem:

M=matrix(2,2,[27, -11, 15, 1])
G,mu = M.gram_schmidt()
M2 = matrix(2,3,[27,-11,29,15,1,9])
M2 = matrix(2,3,[27,-11,21,15,1,9])
G2,mu2 = M2.gram_schmidt()
float(G2[1].norm() - G[1].norm())  > 0

It is only a problem after first starting Sage.

Bill.

On Feb 17, 3:33 am, Bill Hart <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the following short script dumps me at the command line in Sage 4.8:
>
> M=matrix(2,2,[27, -11, 15, 1])
> G,mu = M.gram_schmidt()
> M2 = matrix(2,3,[27,-11,21,15,1,9])
> G2,mu2 = M2.gram_schmidt()
> float(G2[1].norm() - G[1].norm())  > 0
>
> It prints:
>
> WARNING:
> ********
> You or a %run:ed script called sys.stdin.close() or
> sys.stdout.close()!
> Exiting IPython!
>
> Bill.

-- 
To post to this group, send an email to [EMAIL PROTECTED]
To unsubscribe from this group, send an email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org