-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make compiler happier in is_squarefree (#1669)
Fix the following compiler bug when using Hecke: ``` julia> @code_warntype is_squarefree(x) MethodInstance for AbstractAlgebra.is_squarefree(::ZZPolyRingElem) from is_squarefree(f::PolyRingElem{<:RingElement}) @ Nemo ~/Nemo/src/HeckeMiscPoly.jl:517 Arguments #self#::Core.Const(AbstractAlgebra.is_squarefree) f::ZZPolyRingElem Locals #1096::Nemo.var"#1096#1097" fac::Fac{ZZPolyRingElem} Body::Any ```
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters