> > >> Maybe rescale_row and rescale_col should retain their current > >> semantics, and we should have new methods with_rescaled_row and > >> with_rescaled_col that always return a modified copy and never modify > >> the original. Then rescale_row and rescale_col could catch the type > >> error from #3212, and produce a new type error that says something > >> like "rescale_row cannot change the base ring of the matrix; try > >> with_rescaled_row instead". > > > +1 -- that's a great idea! > > Another +1, this is the best solution I've heard so far. > > - Robert
Unless someone continues this thread, I will assume that this idea carries the day in finishing work on this ticket (which may now take a bit longer). Thanks very much for the input. - kcrisman --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---