Skip to content

Commit

Permalink
Merge pull request #1349 from AayushSabharwal/as/fixpoint-sub-maxiters
Browse files Browse the repository at this point in the history
fix: lower default `maxiters` for `fixpoint_sub`
  • Loading branch information
ChrisRackauckas authored Nov 6, 2024
2 parents d16bc03 + 5af597a commit 8998fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ infinite loops in cases where the substitutions in `dict` are circular
See also: [`fast_substitute`](@ref).
"""
function fixpoint_sub(x, dict; operator = Nothing, maxiters = 10000)
function fixpoint_sub(x, dict; operator = Nothing, maxiters = 1000)
dict = subrules_to_dict(dict)
y = fast_substitute(x, dict; operator)
while !isequal(x, y) && maxiters > 0
Expand Down

0 comments on commit 8998fa8

Please sign in to comment.