Skip to content

Commit

Permalink
Fix minor docstring issues (#2727)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Aug 28, 2023
1 parent cb87014 commit 2f44b42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions experimental/Schemes/elliptic_surface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ end
@doc raw"""
weierstrass_model(X::EllipticSurface) -> CoveredScheme, CoveredClosedEmbedding
Return the weierstrass model ``S`` of ``X`` and the inclusion
Return the Weierstrass model ``S`` of ``X`` and the inclusion
\[S \subseteq \mathbb{P}( \mathcal{O}_{\mathbb{P}^1}(-2s) \oplus \mathcal{O}_{\mathbb{P}^1}(-3s) \oplus \mathcal{O}_{\mathbb{P}^1})\]
$$S\subseteq \mathbb{P}( \mathcal{O}_{\mathbb{P}^1}(-2s) \oplus \mathcal{O}_{\mathbb{P}^1}(-3s) \oplus \mathcal{O}_{\mathbb{P}^1})$$
"""
function weierstrass_model(X::EllipticSurface)
if isdefined(X, :Weierstrassmodel)
Expand Down
4 changes: 2 additions & 2 deletions src/Modules/UngradedModules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8934,13 +8934,13 @@ end
vector_space_basis(M::SubquoModule, d::Int)
Let ``R`` be a `MPolyAnyRing` over a field ``k`` and let ``M`` be a subquotient module over ``R``.
Then the command returns a monomial basis of the kk-vectorspace corresponding to the
Then the command returns a monomial basis of the ``k``-vectorspace corresponding to the
degree ``d`` slice of ``M``, where the degree of each generator of ``R`` is counted as one and
the one of each generator of the ambient free module of ``M`` as zero.
vector_space_basis(M::SubquoModule)
If ``M`` happens to be finite-dimensional as a ``kk``-vectorspace, this returns a monomial basis of it; otherwise it throws an error.
If ``M`` happens to be finite-dimensional as a ``k``-vectorspace, this returns a monomial basis of it; otherwise it throws an error.
# Examples:
```jldoctest
Expand Down

0 comments on commit 2f44b42

Please sign in to comment.