# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1253423979 25200
# Node ID 43d3d87939158609b8fea71bd463a910f38378e9
# Parent  3fbb6450cf15097808d57a643ec3826e19eba8c0
trac 6964 -- implement computation of Dirichlet character of irreducible cuspidal modular symbols space

diff -r 3fbb6450cf15 -r 43d3d8793915 sage/modular/modsym/subspace.py
--- a/sage/modular/modsym/subspace.py	Sat Sep 19 21:58:35 2009 -0700
+++ b/sage/modular/modsym/subspace.py	Sat Sep 19 22:19:39 2009 -0700
@@ -493,12 +493,9 @@
         EXAMPLES::
 
             sage: f = ModularSymbols(Gamma1(13),2,sign=1).cuspidal_subspace().decomposition()[0]
-            sage: a = f.diamond_bracket_operator(2).matrix(); a
-            [ 1  1]
-            [-1  0]
-            sage: a^2
-            [ 0  1]
-            [-1 -1]
+            sage: a = f.diamond_bracket_operator(2).matrix()
+            sage: a.charpoly()
+            x^2 - x + 1
             sage: a^12
             [1 0]
             [0 1]
