Skip to content

Commit

Permalink
fix misplaced bracket for maps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Brandt committed Nov 19, 2024
1 parent 8532b39 commit cf0ef62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Map/NumberField.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ end

is_injective(m::NumFieldHom) = true

is_surjective(m::NumFieldHom) = absolute_degree(domain(m) == absolute_degree(codomain(m)))
is_surjective(m::NumFieldHom) = absolute_degree(domain(m)) == absolute_degree(codomain(m))

Check warning on line 33 in src/Map/NumberField.jl

View check run for this annotation

Codecov / codecov/patch

src/Map/NumberField.jl#L33

Added line #L33 was not covered by tests

is_bijective(m::NumFieldHom) = is_surjective(m)

Expand Down

0 comments on commit cf0ef62

Please sign in to comment.