Skip to content

Commit

Permalink
fix: workaround for type inference woes
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Apr 23, 2024
1 parent db3b296 commit 8048731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QuadForm/Herm/Lattices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function norm(L::HermLat)
to_sum = reduce(+, tr(C[i] * G[i, j] * v(C[j]))*R for j in 1:length(C) for i in 1:(j-1); init = to_sum)
n = minimum(numerator(to_sum))//denominator(to_sum)
L.norm = n
return n
return n::fractional_ideal_type(base_ring(base_ring(L)))
end

################################################################################
Expand Down

0 comments on commit 8048731

Please sign in to comment.