I accidentally encountered the following:

sage: matrix([[0]], sparse=True).norm(oo)
Traceback (most recent call last):
...
TypeError: base_ring (=Category of objects) must be a ring

The same for 1 and Frobenius norms.

This happens in
        A = self.apply_map(abs).change_ring(RDF)

What is the reason that the ring is changed to RDF at this stage? For a matrix
with integer entries, I'd appreciate an integer answer (for 1 and infinity 
norms).

regards, CH

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to