It seems confusing and inconsisent that for a matrix m, m.change_ring(R) returns m when R==self.base_ring(), but otherwise returns a copy of m (coerced to the right ring).
If you always just do new_mat = m.change_ring(R), you don't know if you're working with a copy of m or a new version of m, i.e., you don't know if it's safe to then do new_mat[0,0]=1. Should this be changed so that m.change_ring(R) always returns a copy? Thanks, Jason -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---