Skip to content

Commit

Permalink
typeassert for kw argument in propagate
Browse files Browse the repository at this point in the history
Fixes #125
  • Loading branch information
Krastanov authored Jun 6, 2024
1 parent f4c51d2 commit 758aecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/propagate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ StochasticTriple of Int64:
"""
function propagate(f,
args...;
keep_deltas = Val(false),
keep_deltas::Val = Val(false),
provided_st_rep = nothing,
deriv = nothing)
# TODO: support kwargs to f (or just use kwfunc in macro)
Expand Down

0 comments on commit 758aecb

Please sign in to comment.