Changeset 5490:c00102bf5b0a for sage/structure/coerce.pyx
- Timestamp:
- 07/23/07 21:55:39 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/structure/coerce.pyx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/structure/coerce.pyx
r5489 r5490 194 194 return op(x,y) 195 195 action = self.get_action_c(xp, yp, op) 196 # print "found action", action197 196 if action is not None: 198 197 return (<Action>action)._call_c(x, y) … … 335 334 if PY_TYPE_CHECK(R, ParentWithBase) and PY_TYPE_CHECK(S, Parent): 336 335 Z = (<ParentWithBase>R).base_extend_canonical_sym(S) 337 # if (<Parent>R).coerce_map_from_c((<ParentWithBase>S)._base) is not None:338 # Z = S.base_extend(R)339 # elif (<Parent>S).coerce_map_from_c((<ParentWithBase>R)._base) is not None:340 # Z = R.base_extend(S) # should there be a base-extension morphism?341 # else:342 # Z = None343 # print "Z =", Z344 336 if Z is not None: 345 337 from sage.categories.homset import Hom … … 450 442 # implemented with the assumption that 451 443 # _rmul_ is given an element of the basering 452 # print "G", G453 # print "S", S454 444 if G is not S.base() and S.base() is not S: 455 445 self.connecting = S.base().coerce_map_from(G)
Note: See TracChangeset
for help on using the changeset viewer.
