Skip to content

Commit

Permalink
Fixed wrong syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
semohr committed Mar 3, 2021
1 parent 6bdc1ab commit 6570541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions covid19_npis/model/reproduction_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ def date():

d_return = d_data + delta_d_i + delta_d_c
# Clip by value should be in range of our simulation
d_return = d_return.clip_by_value(
-modelParams.length_sim, modelParams.length_sim
d_return = tf.clip_by_value(
d_return, -modelParams.length_sim, modelParams.length_sim
)

return d_return
Expand Down

0 comments on commit 6570541

Please sign in to comment.