Skip to content

Commit 3e8f762

Browse files
author
Eric Smyth
committed
Ensure market_share is divided by 100 when instantiating the Parameters object
1 parent be062ae commit 3e8f762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/penn_chime/presentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def display_sidebar(st, d: Constants) -> Parameters:
290290
return Parameters(
291291
as_date=as_date,
292292
current_hospitalized=current_hospitalized,
293-
market_share=market_share,
293+
market_share=market_share / 100.0,
294294
known_infected=known_infected,
295295
doubling_time=doubling_time,
296296

0 commit comments

Comments
 (0)