Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt QQBar documentation #1715

Merged
merged 7 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ end
is_power(x::IntegerUnion) = is_perfect_power_with_data(x)
is_power(x::QQFieldElem) = is_perfect_power_with_data(x)
is_power(x::Rational) = is_perfect_power_with_data(x)

const QQBar = QQBarField()
export QQBar

const CalciumQQBar = QQBarField()
export CalciumQQBar
2 changes: 0 additions & 2 deletions src/Exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export bits
export bound_inf_norm
export CalciumField
export CalciumFieldElem
export CalciumQQBar # TODO: remove in next breaking release
export canonical_unit
export cdiv
export cdivpow2
Expand Down Expand Up @@ -502,7 +501,6 @@ export QadicFieldElem
export QQ
export QQAbsPowerSeriesRing
export QQAbsPowerSeriesRingElem
export QQBar # TODO: remove in next breaking release
export QQBarField
export QQBarFieldElem
export QQField
Expand Down
10 changes: 0 additions & 10 deletions src/Nemo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -592,16 +592,6 @@ const FlintQQ = QQ
GaussianIntegers() = FlintZZi
GaussianRationals() = FlintQQi

###############################################################################
#
# Set domain for QQBar to Calcium
#
###############################################################################

@doc qqbar_field_doc
const CalciumQQBar = QQBar # TODO: remove in next breaking release


###############################################################################
#
# Some explicit type piracy against AbstractAlgebra
Expand Down
2 changes: 0 additions & 2 deletions src/calcium/CalciumTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ Root 0.866025 of 4x^2 - 3
struct QQBarField <: Field
end

const QQBar = QQBarField()

@doc qq_field_doc
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Off-topic, but this is wrong. It should attach qqbar_field_doc instead

mutable struct QQBarFieldElem <: FieldElem
coeffs::Ptr{Nothing}
Expand Down
Loading