Skip to content

Commit

Permalink
Fix the type of t_fn in scan_perform.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed May 17, 2022
1 parent e2e2366 commit 104dc03
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 29 deletions.
59 changes: 33 additions & 26 deletions aesara/scan/c_code/scan_perform.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions aesara/scan/scan_perform.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ from aesara.scan.utils import InnerFunctionError


def get_version():
return 0.314
return 0.315

@cython.boundscheck(False)
def perform(
Expand Down Expand Up @@ -157,7 +157,7 @@ def perform(
"""
# 1. Unzip the number of steps and sequences. If number of steps is
# negative flip sequences around, and make n_steps positive
cdef unsigned int t_fn = 0
cdef float t_fn = 0
cdef unsigned int n_steps = outer_inputs[0].item()
cdef unsigned int n_outs = n_mit_mot + n_mit_sot + n_sit_sot
cdef unsigned int seqs_arg_offset = n_seqs + 1
Expand Down
2 changes: 1 addition & 1 deletion aesara/scan/scan_perform_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

_logger = logging.getLogger("aesara.scan.scan_perform")

version = 0.314 # must match constant returned in function get_version()
version = 0.315 # must match constant returned in function get_version()

need_reload = False
scan_perform: Optional[ModuleType] = None
Expand Down

0 comments on commit 104dc03

Please sign in to comment.