Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
-17326- cleaned up cod, and fixed minor coerce issue
Browse files Browse the repository at this point in the history
  • Loading branch information
albjoao committed Feb 3, 2015
1 parent 58fa66d commit 4adf3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/schemes/projective/projective_morphism.py
Expand Up @@ -1167,7 +1167,7 @@ def is_morphism(self):
J = R.ideal(F + defpolys)
else:
S = PolynomialRing(R.base_ring().fraction_field(), R.gens(), R.ngens())
J = S.ideal([S.coerce(F[i]) for i in range(R.ngens())] + defpolys)
J = S.ideal([S(f) for f in F] + [S(f) for f in defpolys])
if J.dimension() > 0:
return False
else:
Expand Down

0 comments on commit 4adf3c9

Please sign in to comment.