Update namespace of AbstractAlgebra.Rationals

This commit is contained in:
Aaron Fenyes 2024-06-26 01:06:27 -07:00
parent 58a5c38e62
commit 4a28a47520
3 changed files with 4 additions and 4 deletions

View File

@ -108,11 +108,11 @@ println("\nLoss: ", loss, "\n")
# === algebraic check ===
R, gens = polynomial_ring(Generic.Rationals{BigInt}(), ["x", "t₁", "t₂", "t₃"])
R, gens = polynomial_ring(AbstractAlgebra.Rationals{BigInt}(), ["x", "t₁", "t₂", "t₃"])
x = gens[1]
t = gens[2:4]
S, u = polynomial_ring(Generic.Rationals{BigInt}(), "u")
S, u = polynomial_ring(AbstractAlgebra.Rationals{BigInt}(), "u")
M = matrix_space(R, 7, 7)
gram_symb = M(R[

View File

@ -11,7 +11,7 @@ function printbad(msg)
println(" ", msg)
end
F, gens = rational_function_field(Generic.Rationals{BigInt}(), ["a₁", "a₂", "b₁", "b₂", "c₁", "c₂"])
F, gens = rational_function_field(AbstractAlgebra.Rationals{BigInt}(), ["a₁", "a₂", "b₁", "b₂", "c₁", "c₂"])
a = gens[1:2]
b = gens[3:4]
c = gens[5:6]

View File

@ -11,7 +11,7 @@ function printbad(msg)
println(" ", msg)
end
F, gens = rational_function_field(Generic.Rationals{BigInt}(), ["x", "t₁", "t₂", "t₃"])
F, gens = rational_function_field(AbstractAlgebra.Rationals{BigInt}(), ["x", "t₁", "t₂", "t₃"])
x = gens[1]
t = gens[2:4]