Skip to content

Commit

Permalink
fix: disable precompilation workload in GroebnerExt
Browse files Browse the repository at this point in the history
Depends on NemoExt, which won't be loaded due to
JuliaLang/julia#55589
  • Loading branch information
AayushSabharwal committed Oct 18, 2024
1 parent 3292117 commit 703d2e9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ext/SymbolicsGroebnerExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -317,15 +317,4 @@ function Symbolics.solve_multivar(eqs::Vector, vars::Vector{Num}; dropmultiplici
sol
end

# Helps with precompilation time
PrecompileTools.@setup_workload begin
@variables a b c x y z
simple_linear_equations = [x - y, y + 2z]
equations_intersect_sphere_line = [x^2 + y^2 + z^2 - 9, x - 2y + 3, y - z]
PrecompileTools.@compile_workload begin
symbolic_solve(simple_linear_equations, [x, y], warns=false)
symbolic_solve(equations_intersect_sphere_line, [x, y, z], warns=false)
end
end

end # module

0 comments on commit 703d2e9

Please sign in to comment.