Skip to content

Commit

Permalink
Fix Scan.truncate_gradient default value and type
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Apr 7, 2022
1 parent d38552d commit 16fce52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aesara/scan/op.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def __init__(
info: ScanInfo,
mode: Optional[Mode] = None,
typeConstructor: Optional[TensorConstructorType] = None,
truncate_gradient: bool = False,
truncate_gradient: int = -1,
name: Optional[str] = None,
as_while: bool = False,
profile: Optional[Union[str, bool]] = None,
Expand Down

0 comments on commit 16fce52

Please sign in to comment.