Skip to content

Commit 853a789

Browse files
authored
Fix some docs typos (#1803)
1 parent 60b6dc7 commit 853a789

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/src/manual/number_fields/fields.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ number_field(::DocuDummy2)
2020
```
2121

2222
!!! tip
23-
Many of the constructors have arguments of type `Symbol` or
24-
`AbstractString`. If used, they define the appearance in printing, and
23+
Many of the constructors have arguments of type `VarName`.
24+
If used, they define the appearance in printing, and
2525
printing only. The named parameter `check` can be `true` or `false`, the
2626
default being `true`. This parameter controls whether the polynomials
2727
defining the number field are tested for irreducibility or not. Given that

docs/src/manual/number_fields/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CurrentModule = Hecke
44

55
# [Introduction](@id NumberFieldsLink)
66

7-
By definition, mathematically a number field is just a finite extension of the rational $\mathbf{Q}$.
7+
By definition, mathematically a number field is just a finite extension of the rationals $\mathbf{Q}$.
88
In Hecke, a number field $L$ is recursively defined as being the field of rational numbers $\mathbf{Q}$ or
99
a finite extension of a number field $K$. In the second case, the extension
1010
can be defined in the one of the following two ways:

src/NumField/Field.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ is_simple(a::NumField)
104104

105105
@doc doc"""
106106
number_field(f::Poly{NumFieldElem}, s::VarName;
107-
cached::Bool = false, check::Bool = false) -> NumField, NumFieldElem
107+
cached::Bool = false, check::Bool = true) -> NumField, NumFieldElem
108108
109109
Given an irreducible polynomial $f \in K[x]$ over some number field $K$, this
110110
function creates the simple number field $L = K[x]/(f)$ and returns $(L, b)$,
@@ -135,7 +135,7 @@ number_field(::DocuDummy)
135135

136136
@doc (@doc _doc_stub_nf)
137137
number_field(f::PolyRingElem{<: NumFieldElem}, s::VarName;
138-
cached::Bool = false, check::Bool = false)
138+
cached::Bool = false, check::Bool = true)
139139

140140
################################################################################
141141
#

src/NumField/SimpleNumField/Field.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ is_isomorphic_with_map(::SimpleNumField, ::SimpleNumField)
204204
is_linearly_disjoint(K::SimpleNumField, L::SimpleNumField) -> Bool
205205
206206
Given two number fields $K$ and $L$ with the same base field $k$, this function
207-
returns whether $K$ and $L$ are linear disjoint over $k$.
207+
returns whether $K$ and $L$ are linearly disjoint over $k$.
208208
"""
209209
is_linearly_disjoint(K::SimpleNumField, L::SimpleNumField)
210210

0 commit comments

Comments
 (0)