Skip to content

Commit

Permalink
warn when linalg=:randomized is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
sumiya11 committed Oct 13, 2024
1 parent d12e879 commit 7248fd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/groebner/parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ function AlgorithmParameters(ring::PolyRing, kwargs::KeywordArguments; hint=:non
# TODO: In the future, it would be good to adapt randomized linear
# algebra to this case by taking more random samples
if ring.ch < 500
if linalg === :randomized
@info """
The option linalg=:randomized was ignored:
the ground field characteristic is small."""
end
linalg = :deterministic
end
end
Expand Down

0 comments on commit 7248fd9

Please sign in to comment.