-
-
Notifications
You must be signed in to change notification settings - Fork 702
Description
These are changes which are needed because of #24742.
-
src/sage/schemes/riemann_surfaces/riemann_surface.py: New MatrixArgs object to deal with constructing matrices #24742 will disallow passing strings to the matrix constructor. It's a rarely used feature and hard to get right properly. The fix is easy: pass actual elements of the ring instead of the generator names. This is clearly the right thing to do. -
src/sage/tensor/modules/comp.py: I needed to change_get_list()but I have to say that I don't understand what the code is supposed to do. I wrote the code the way I did mainly to pass doctests. I also added some documentation to reflect better what the_get_list()method does. I also got rid of the eviltry/exceptblock trying to construct a matrix but happily returning a list if that failed. -
src/sage/manifolds/differentiable/metric.py: this is a consequence of the change in 2. and it looks like a sensible change.
CC: @egourgoulhon @tscrim
Component: geometry
Author: Jeroen Demeyer, Eric Gourgoulhon
Branch/Commit: 6ae84f1
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/24884