Skip to content

Commit

Permalink
Fix name in rtperiodicdiff.py (#343)
Browse files Browse the repository at this point in the history
Update rtperiodicdiff.py
  • Loading branch information
damonbayer authored Jul 30, 2024
1 parent fd4af55 commit dd3e022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/src/pyrenew/process/rtperiodicdiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def sample(
n_periods = int(jnp.ceil(duration / self.period_size))

# Running the process
ar_diff = FirstDifferenceARProcess("trend_rw", autoreg=b, noise_sd=s_r)
ar_diff = FirstDifferenceARProcess(self.name, autoreg=b, noise_sd=s_r)
log_rt = ar_diff.sample(
duration=n_periods,
init_val=log_rt_rv[1],
Expand Down

0 comments on commit dd3e022

Please sign in to comment.